MSDN Library

SqlSyncScopeProvisioning Constructor (DbSyncScopeDescription)

Note: This API is now obsolete.

Initializes a new instance of the SqlSyncScopeProvisioning class for the specified scope.

Namespace:  Microsoft.Synchronization.Data.SqlServer
Assembly:  Microsoft.Synchronization.Data.SqlServer (in Microsoft.Synchronization.Data.SqlServer.dll)

[ObsoleteAttribute("Use a constructor that passes in a SqlConnection")]
public SqlSyncScopeProvisioning(
	DbSyncScopeDescription scopeDescription
)

Parameters

scopeDescription
Type: Microsoft.Synchronization.Data.DbSyncScopeDescription
A logical grouping of tables (optionally filtered) that are synchronized as a unit.

ExceptionCondition
DbProvisioningException

scopeDescription is empty or null.

Be aware that when this version of the constructor is used, some newer features are disabled, such as the use of bulk procedures to insert, update, and delete changes during synchronization. To take advantage of these features, use a form of the constructor that takes a SqlConnection parameter.

Show:
© 2016 Microsoft