SqlSyncScopeDeprovisioning Class
Removes scopes, templates, and other synchronization elements from a SQL Server database that was previously provisioned for synchronization.
Inheritance Hierarchy
System.Object
Microsoft.Synchronization.Data.SqlServer.SqlSyncScopeDeprovisioning
Namespace: Microsoft.Synchronization.Data.SqlServer
Assembly: Microsoft.Synchronization.Data.SqlServer (in Microsoft.Synchronization.Data.SqlServer.dll)
Syntax
'Declaration
Public Class SqlSyncScopeDeprovisioning
'Usage
Dim instance As SqlSyncScopeDeprovisioning
public class SqlSyncScopeDeprovisioning
public ref class SqlSyncScopeDeprovisioning
type SqlSyncScopeDeprovisioning = class end
public class SqlSyncScopeDeprovisioning
The SqlSyncScopeDeprovisioning type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlSyncScopeDeprovisioning | Initializes a new instance of the SqlSyncScopeDeprovisioning class with the specified connection. |
Top
Properties
Name | Description | |
---|---|---|
CommandTimeout | Gets or sets the wait time, in seconds, before a deprovisioning command is stopped and an error is generated. | |
ObjectPrefix | Gets or sets the optional prefix that is used to identify objects that Sync Framework creates. | |
ObjectSchema | Gets or sets the optional database schema in which Sync Framework creates objects. |
Top
Methods
Name | Description | |
---|---|---|
DeprovisionScope | Deprovisions the specified scope by removing all associated synchronization elements from the database. | |
DeprovisionStore | Removes all synchronization metadata tables, triggers, and stored procedures from the database. | |
DeprovisionTemplate | Deprovisions the specified template and all scopes that were created from the specified template by removing all associated synchronization elements from the database. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ScriptDeprovisionScope | Generates a script that can be used to deprovision a scope. | |
ScriptDeprovisionStore | Generates a script that can be used to remove all synchronization metadata, triggers, and stored procedures from a database. | |
ScriptDeprovisionTemplate | Generates a script that can be used to deprovision a template and all scopes that were created from that template. | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.