DatasetTable.ReplaceAllContentsAsync Method

Replace all contents of datatable on database. The current datatable is deleted and the new datatable is inserted.
<ID("ReplaceAllContentsAsync", (int)e.ReplaceAllContentsAsync)> _ 
<EditorBrowsable(EditorBrowsableState.Advanced)> _ 
Public Function ReplaceAllContentsAsync( _ 
ByVal table As DataTable
) As Task(Of DataTable)
This language is not supported or no code example is available.
[ID("ReplaceAllContentsAsync", (int)e.ReplaceAllContentsAsync)] 
[EditorBrowsable(EditorBrowsableState.Advanced)] 
public Task<DataTable> ReplaceAllContentsAsync( 
DataTable table 
)
This language is not supported or no code example is available.

Parameters

table
DataTable

Return Value

Task<DataTable>

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition