SqlSyncScopeProvisioning 构造函数 (SqlConnection, SqlSyncScopeProvisioningType)

使用指定的连接和设置类型初始化 SqlSyncScopeProvisioning 类的一个新实例。

命名空间:  Microsoft.Synchronization.Data.SqlServer
程序集:  Microsoft.Synchronization.Data.SqlServer(在 Microsoft.Synchronization.Data.SqlServer.dll 中)

语法

声明
Public Sub New ( _
    connection As SqlConnection, _
    provisioningType As SqlSyncScopeProvisioningType _
)
用法
Dim connection As SqlConnection
Dim provisioningType As SqlSyncScopeProvisioningType

Dim instance As New SqlSyncScopeProvisioning(connection, _
    provisioningType)
public SqlSyncScopeProvisioning(
    SqlConnection connection,
    SqlSyncScopeProvisioningType provisioningType
)
public:
SqlSyncScopeProvisioning(
    SqlConnection^ connection, 
    SqlSyncScopeProvisioningType provisioningType
)
new : 
        connection:SqlConnection * 
        provisioningType:SqlSyncScopeProvisioningType -> SqlSyncScopeProvisioning
public function SqlSyncScopeProvisioning(
    connection : SqlConnection, 
    provisioningType : SqlSyncScopeProvisioningType
)

参数

请参阅

参考

SqlSyncScopeProvisioning类

SqlSyncScopeProvisioning 成员

SqlSyncScopeProvisioning 重载

Microsoft.Synchronization.Data.SqlServer 命名空间