共用方式為


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
)

參數

例外

例外狀況 條件
DbProvisioningException

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

請參閱

參考

SqlSyncScopeProvisioning類別

SqlSyncScopeProvisioning 成員

Microsoft.Synchronization.Data.SqlServer 命名空間