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
)
參數
- scopeDescription
型別:Microsoft.Synchronization.Data. . :: . .DbSyncScopeDescription
代表當做一個單位同步處理之邏輯資料表群組 (選擇性篩選) 的 DbSyncScopeDescription 物件。
例外
例外狀況 | 條件 |
---|---|
DbProvisioningException | scopeDescription 是 null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) 。 |