PopulateFromScopeDescription 方法
設定應該用來佈建資料庫的範圍說明。
命名空間: Microsoft.Synchronization.Data.SqlServer
組件: Microsoft.Synchronization.Data.SqlServer (在 Microsoft.Synchronization.Data.SqlServer.dll 中)
語法
'宣告
Public Sub PopulateFromScopeDescription ( _
scopeDescription As DbSyncScopeDescription _
)
'用途
Dim instance As SqlSyncScopeProvisioning
Dim scopeDescription As DbSyncScopeDescription
instance.PopulateFromScopeDescription(scopeDescription)
public void PopulateFromScopeDescription(
DbSyncScopeDescription scopeDescription
)
public:
void PopulateFromScopeDescription(
DbSyncScopeDescription^ scopeDescription
)
member PopulateFromScopeDescription :
scopeDescription:DbSyncScopeDescription -> unit
public function PopulateFromScopeDescription(
scopeDescription : DbSyncScopeDescription
)
參數
- scopeDescription
型別:Microsoft.Synchronization.Data. . :: . .DbSyncScopeDescription
表示如何設定範圍的物件。
例外
例外狀況 | 條件 |
---|---|
DbProvisioningException | scopeDescription 是空的或 null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) 。 |