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.
Deprovisions the specified scope by removing all associated synchronization elements from the database.
Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Sub DeprovisionScope ( _
scopeName As String _
)
'Usage
Dim instance As SqlCeSyncScopeDeprovisioning
Dim scopeName As String
instance.DeprovisionScope(scopeName)
public void DeprovisionScope(
string scopeName
)
public:
void DeprovisionScope(
String^ scopeName
)
member DeprovisionScope :
scopeName:string -> unit
public function DeprovisionScope(
scopeName : String
)
Parameters
- scopeName
Type: System.String
The name of the scope to deprovision.
Remarks
Synchronization components are not removed from a database until all scopes that depend on them are deprovisioned. For example, when two scopes that contain the same table are present in a database, deprovisioning one of the scopes does not remove the metadata table for the table contained in the other scope. When the second scope is deprovisioned, the metadata table is removed.
See Also
Reference
SqlCeSyncScopeDeprovisioning Class
Microsoft.Synchronization.Data.SqlServerCe Namespace
Other Resources
How to: Provision and Deprovision Synchronization Scopes and Templates (SQL Server)