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)

public override void 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 object is a DataSet that contains schema information for the table that will be created.

ExceptionCondition
ArgumentNullException

syncTable is a null or syncSchema is a null and syncTable.CreationOption is not UseExistingTableOrFail.

DataSyncException

Another transaction is in progress.

SchemaException
Show: