SqlCeSyncScopeProvisioning 建構 (, DbSyncScopeDescription)
使用指定的連接和範圍說明,初始化 SqlCeSyncScopeProvisioning 類別的新執行個體。
命名空間: Microsoft.Synchronization.Data.SqlServerCe
組件: Microsoft.Synchronization.Data.SqlServerCe (在 Microsoft.Synchronization.Data.SqlServerCe.dll 中)
語法
'宣告
Public Sub New ( _
connection As SqlCeConnection, _
scopeDescription As DbSyncScopeDescription _
)
'用途
Dim connection As SqlCeConnection
Dim scopeDescription As DbSyncScopeDescription
Dim instance As New SqlCeSyncScopeProvisioning(connection, _
scopeDescription)
public SqlCeSyncScopeProvisioning(
SqlCeConnection connection,
DbSyncScopeDescription scopeDescription
)
public:
SqlCeSyncScopeProvisioning(
SqlCeConnection^ connection,
DbSyncScopeDescription^ scopeDescription
)
new :
connection:SqlCeConnection *
scopeDescription:DbSyncScopeDescription -> SqlCeSyncScopeProvisioning
public function SqlCeSyncScopeProvisioning(
connection : SqlCeConnection,
scopeDescription : DbSyncScopeDescription
)
參數
- connection
型別:SqlCeConnection
與資料庫的連接。
- scopeDescription
型別:Microsoft.Synchronization.Data. . :: . .DbSyncScopeDescription
代表當做一個單位同步處理之邏輯資料表群組 (選擇性篩選) 的 DbSyncScopeDescription 物件。