ClientSyncProvider.CreateSchema Method
When overridden in a derived class, creates a table schema at the client database if the schema does not exist.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public MustOverride Sub CreateSchema ( _
syncTable As SyncTable, _
syncSchema As SyncSchema _
)
'Usage
Dim instance As ClientSyncProvider
Dim syncTable As SyncTable
Dim syncSchema As SyncSchema
instance.CreateSchema(syncTable, syncSchema)
public abstract void CreateSchema(
SyncTable syncTable,
SyncSchema syncSchema
)
public:
virtual void CreateSchema(
SyncTable^ syncTable,
SyncSchema^ syncSchema
) abstract
abstract CreateSchema :
syncTable:SyncTable *
syncSchema:SyncSchema -> unit
public abstract function CreateSchema(
syncTable : SyncTable,
syncSchema : SyncSchema
)
Parameters
- syncTable
Type: Microsoft.Synchronization.Data.SyncTable
A SyncTable object that contains settings for the table that will be created, such as the direction of synchronization.
- syncSchema
Type: Microsoft.Synchronization.Data.SyncSchema
A SyncSchema object. This is a DataSet object that contains schema information for the table that will be created.