FillSchema-Methode

Füllt die Schemainformationen für die Tabelle auf, die in TableName angegeben ist.

Namespace:  Microsoft.Synchronization.Data.Server
Assembly:  Microsoft.Synchronization.Data.Server (in Microsoft.Synchronization.Data.Server.dll)

Syntax

'Declaration
Public Function FillSchema ( _
    dataTable As DataTable, _
    connection As IDbConnection _
) As DataTable
'Usage
Dim instance As SyncAdapter
Dim dataTable As DataTable
Dim connection As IDbConnection
Dim returnValue As DataTable

returnValue = instance.FillSchema(dataTable, _
    connection)
public DataTable FillSchema(
    DataTable dataTable,
    IDbConnection connection
)
public:
DataTable^ FillSchema(
    DataTable^ dataTable, 
    IDbConnection^ connection
)
member FillSchema : 
        dataTable:DataTable * 
        connection:IDbConnection -> DataTable 
public function FillSchema(
    dataTable : DataTable, 
    connection : IDbConnection
) : DataTable

Parameter

Rückgabewert

Typ: System.Data. . :: . .DataTable
Eine DataTable, die die Schemainformationen enthält.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

connection ist NULL.

SchemaException

SelectIncrementalInsertsCommand oder SelectIncrementalUpdatesCommand ist NULL, oder das Schema konnte nicht abgerufen werden.

Siehe auch

Verweis

SyncAdapter Klasse

SyncAdapter-Member

Microsoft.Synchronization.Data.Server-Namespace