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
Public method SqlSyncScopeDeprovisioning Initializes a new instance of the SqlSyncScopeDeprovisioning class with the specified connection.

Top

Properties

  Name Description
Public property CommandTimeout Gets or sets the wait time, in seconds, before a deprovisioning command is stopped and an error is generated.
Public property ObjectPrefix Gets or sets the optional prefix that is used to identify objects that Sync Framework creates.
Public property ObjectSchema Gets or sets the optional database schema in which Sync Framework creates objects.

Top

Methods

  Name Description
Public method DeprovisionScope Deprovisions the specified scope by removing all associated synchronization elements from the database.
Public method DeprovisionStore Removes all synchronization metadata tables, triggers, and stored procedures from the database.
Public method DeprovisionTemplate Deprovisions the specified template and all scopes that were created from the specified template by removing all associated synchronization elements from the database.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ScriptDeprovisionScope Generates a script that can be used to deprovision a scope.
Public method ScriptDeprovisionStore Generates a script that can be used to remove all synchronization metadata, triggers, and stored procedures from a database.
Public method ScriptDeprovisionTemplate Generates a script that can be used to deprovision a template and all scopes that were created from that template.
Public method 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.

See Also

Reference

Microsoft.Synchronization.Data.SqlServer Namespace