Sdílet prostřednictvím


SqlCeClientSyncProvider.CreateSchema Method

Creates the table schema in the client database if the schema does not exist.

Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in microsoft.synchronization.data.sqlserverce.dll)

Syntax

'Declaration
Public Overrides Sub CreateSchema ( _
    syncTable As SyncTable, _
    syncSchema As SyncSchema _
)
'Usage
Dim instance As SqlCeClientSyncProvider
Dim syncTable As SyncTable
Dim syncSchema As SyncSchema

instance.CreateSchema(syncTable, syncSchema)
public override void CreateSchema (
    SyncTable syncTable,
    SyncSchema syncSchema
)
public:
virtual void CreateSchema (
    SyncTable^ syncTable, 
    SyncSchema^ syncSchema
) override
public void CreateSchema (
    SyncTable syncTable, 
    SyncSchema syncSchema
)
public override function CreateSchema (
    syncTable : SyncTable, 
    syncSchema : SyncSchema
)

Parameters

  • syncTable
    A SyncTable object that contains settings for the table that will be created, such as the direction of synchronization.
  • syncSchema
    A SyncSchema object. This object is a DataSet that contains schema information for the table that will be created.

See Also

Reference

SqlCeClientSyncProvider Class
SqlCeClientSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace