共用方式為


SqlCeSyncScopeProvisioning 建構 (DbSyncScopeDescription)

注意:此 API 已經過時。

針對指定的範圍初始化 SqlCeSyncScopeProvisioning 類別的新執行個體。

命名空間:  Microsoft.Synchronization.Data.SqlServerCe
組件:  Microsoft.Synchronization.Data.SqlServerCe (在 Microsoft.Synchronization.Data.SqlServerCe.dll 中)

語法

'宣告
<ObsoleteAttribute("Use a constructor that passes in a SqlCeConnection")> _
Public Sub New ( _
    scopeDescription As DbSyncScopeDescription _
)
'用途
Dim scopeDescription As DbSyncScopeDescription

Dim instance As New SqlCeSyncScopeProvisioning(scopeDescription)
[ObsoleteAttribute("Use a constructor that passes in a SqlCeConnection")]
public SqlCeSyncScopeProvisioning(
    DbSyncScopeDescription scopeDescription
)
[ObsoleteAttribute(L"Use a constructor that passes in a SqlCeConnection")]
public:
SqlCeSyncScopeProvisioning(
    DbSyncScopeDescription^ scopeDescription
)
[<ObsoleteAttribute("Use a constructor that passes in a SqlCeConnection")>]
new : 
        scopeDescription:DbSyncScopeDescription -> SqlCeSyncScopeProvisioning
public function SqlCeSyncScopeProvisioning(
    scopeDescription : DbSyncScopeDescription
)

參數

例外

例外狀況 條件
DbProvisioningException

scopeDescription 是 null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) 。

請參閱

參考

SqlCeSyncScopeProvisioning類別

SqlCeSyncScopeProvisioning 成員

SqlCeSyncScopeProvisioning 多載

Microsoft.Synchronization.Data.SqlServerCe 命名空間