SqlCeClientSyncProvider::CreateSchema Method
Creates the table schema in the client database if the schema does not exist.
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)
public: virtual void CreateSchema( SyncTable^ syncTable, SyncSchema^ syncSchema ) override
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | syncTable is a nullptr or syncSchema is a nullptr and syncTable.CreationOption is not UseExistingTableOrFail. |
| DataSyncException | Another transaction is in progress. |
| SchemaException |
|
Show: