Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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