SqlSyncScopeProvisioning 建構 (SqlConnection)
使用指定的連接,初始化 SqlSyncScopeProvisioning 類別的新執行個體。
命名空間: Microsoft.Synchronization.Data.SqlServer
組件: Microsoft.Synchronization.Data.SqlServer (在 Microsoft.Synchronization.Data.SqlServer.dll 中)
語法
'宣告
Public Sub New ( _
connection As SqlConnection _
)
'用途
Dim connection As SqlConnection
Dim instance As New SqlSyncScopeProvisioning(connection)
public SqlSyncScopeProvisioning(
SqlConnection connection
)
public:
SqlSyncScopeProvisioning(
SqlConnection^ connection
)
new :
connection:SqlConnection -> SqlSyncScopeProvisioning
public function SqlSyncScopeProvisioning(
connection : SqlConnection
)
參數
- connection
型別:System.Data.SqlClient. . :: . .SqlConnection
與將要佈建之資料庫的連接。