Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
<ObsoleteAttribute("Use a constructor that passes in a SqlConnection")> _
Public Sub New ( _
scopeDescription As DbSyncScopeDescription _
)
'Usage
Dim scopeDescription As DbSyncScopeDescription
Dim instance As New SqlSyncScopeProvisioning(scopeDescription)
[ObsoleteAttribute("Use a constructor that passes in a SqlConnection")]
public SqlSyncScopeProvisioning(
DbSyncScopeDescription scopeDescription
)
[ObsoleteAttribute(L"Use a constructor that passes in a SqlConnection")]
public:
SqlSyncScopeProvisioning(
DbSyncScopeDescription^ scopeDescription
)
[<ObsoleteAttribute("Use a constructor that passes in a SqlConnection")>]
new :
scopeDescription:DbSyncScopeDescription -> SqlSyncScopeProvisioning
public function SqlSyncScopeProvisioning(
scopeDescription : DbSyncScopeDescription
)
Parameters
- scopeDescription
Type: Microsoft.Synchronization.Data.DbSyncScopeDescription
A logical grouping of tables (optionally filtered) that are synchronized as a unit.
Exceptions
| Exception | Condition |
|---|---|
| DbProvisioningException | scopeDescription is empty or null reference (Nothing in Visual Basic). |
Remarks
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.
See Also
Reference
SqlSyncScopeProvisioning Class