Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

SqlCeSyncScopeDeprovisioning.DeprovisionStore Method

Removes all synchronization metadata tables, triggers, and stored procedures from the database.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

public void DeprovisionStore()

The following example removes all synchronization metadata tables, triggers, and stored procedures from a SQL Server Compact database.

// Remove all scopes from the SQL Server Compact database.
SqlCeSyncScopeDeprovisioning clientSqlCeDepro = new SqlCeSyncScopeDeprovisioning(clientSqlCe1Conn);
clientSqlCeDepro.DeprovisionStore();


' Remove all scopes from the SQL Server Compact database.
Dim clientSqlCeDepro As New SqlCeSyncScopeDeprovisioning(clientSqlCe1Conn)
clientSqlCeDepro.DeprovisionStore()


Show:
© 2015 Microsoft