SyncAdapter.FillSchema Method
Populates the schema information for the table that is specified in TableName.
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
)
public DataTable FillSchema (
DataTable dataTable,
IDbConnection connection
)
public function FillSchema (
dataTable : DataTable,
connection : IDbConnection
) : DataTable
Parameters
- dataTable
The DataTable to be populated with schema information.
- connection
An IDbConnection object that is used to connect to the server database.
Return Value
A DataTable that contains the schema information.
See Also
Reference
SyncAdapter Class
SyncAdapter Members
Microsoft.Synchronization.Data.Server Namespace