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
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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SyncAdapter Class
SyncAdapter Members
Microsoft.Synchronization.Data.Server Namespace