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) 。 |