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 命名空间