SqlSyncScopeProvisioning Members

Represents the provisioning of a SQL Server database for a particular scope that is represented by a DbSyncScopeDescription object.

The following tables list the members exposed by the SqlSyncScopeProvisioning type.

Public Constructors

  Name Description
Public method SqlSyncScopeProvisioning Overloaded. Initializes a new instance of the SqlSyncScopeProvisioning class.


Public Properties

  Name Description
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 database schema in which Sync Framework creates objects.
Public property Tables Gets a collection of SqlSyncTableProvisioning objects that each represent the provisioning of a database table.


Public Methods

(see also Protected Methods )

  Name Description
Public method Apply Applies the provisioning script to a SQL Server database over the specified connection.
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method PopulateFromScopeDescription Sets the scope description from which the database should be provisioned.
Public method Dd937374.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method ScopeExists Returns whether the specified scope exists.
Public method Script Generates a string that contains the SQL code to provision the database for a particular scope.
Public method SetCreateProceduresDefault Sets whether to create a set of stored procedures that insert, update, and delete data and synchronization metadata.
Public method SetCreateProceduresForAdditionalScopeDefault Sets whether to create for any additional scopes sets of stored procedures that insert, update, and delete data and synchronization metadata.
Public method SetCreateTableDefault Sets whether to create base tables when a scope is configured.
Public method SetCreateTrackingTableDefault Sets whether to create tables that store change-tracking metadata.
Public method SetCreateTriggersDefault Sets whether to create on base tables triggers that update tracking tables.
Public method SetPopulateTrackingTableDefault Sets whether to insert metadata into change-tracking tables for rows that already exist in base tables.
Public method ToString  (Inherited from Object.)


Protected Methods

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)


See Also


SqlSyncScopeProvisioning Class
Microsoft.Synchronization.Data.SqlServer Namespace