DataTableSurrogate.ReadSchemaIntoDataTable Method
Copies the table data from a DataTableSurrogate object into a DataTable object.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub ReadSchemaIntoDataTable ( _
dt As DataTable _
)
'Usage
Dim instance As DataTableSurrogate
Dim dt As DataTable
instance.ReadSchemaIntoDataTable(dt)
public void ReadSchemaIntoDataTable(
DataTable dt
)
public:
void ReadSchemaIntoDataTable(
DataTable^ dt
)
member ReadSchemaIntoDataTable :
dt:DataTable -> unit
public function ReadSchemaIntoDataTable(
dt : DataTable
)
Parameters
- dt
Type: System.Data.DataTable
The DataTable object into which the schema should be copied.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | dt is a null reference (Nothing in Visual Basic). |