Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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)
Syntax
'Declaration
Public Sub DeprovisionStore
'Usage
Dim instance As SqlCeSyncScopeDeprovisioning
instance.DeprovisionStore()
public void DeprovisionStore()
public:
void DeprovisionStore()
member DeprovisionStore : unit -> unit
public function DeprovisionStore()
Examples
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()
See Also
Reference
SqlCeSyncScopeDeprovisioning Class
Microsoft.Synchronization.Data.SqlServerCe Namespace
Other Resources
How to: Provision and Deprovision Synchronization Scopes and Templates (SQL Server)