共用方式為


SqlSyncScopeProvisioning 建構 (SqlConnection, DbSyncScopeDescription, SqlSyncScopeProvisioningType)

使用指定的連接、範圍說明和佈建類型,初始化 SqlSyncScopeProvisioning 類別的新執行個體。

命名空間:  Microsoft.Synchronization.Data.SqlServer
組件:  Microsoft.Synchronization.Data.SqlServer (在 Microsoft.Synchronization.Data.SqlServer.dll 中)

語法

'宣告
Public Sub New ( _
    connection As SqlConnection, _
    scopeDescription As DbSyncScopeDescription, _
    provisioningType As SqlSyncScopeProvisioningType _
)
'用途
Dim connection As SqlConnection
Dim scopeDescription As DbSyncScopeDescription
Dim provisioningType As SqlSyncScopeProvisioningType

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

參數

請參閱

參考

SqlSyncScopeProvisioning類別

SqlSyncScopeProvisioning 成員

SqlSyncScopeProvisioning 多載

Microsoft.Synchronization.Data.SqlServer 命名空間