DacStore 建構函式 (ServerConnection)
初始化連接到指定的 Database Engine 執行個體之 DacStore 類別的新執行個體。
命名空間: Microsoft.SqlServer.Management.Dac
組件: Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)
語法
'宣告
Public Sub New ( _
serverConnection As ServerConnection _
)
'用途
Dim serverConnection As ServerConnection
Dim instance As New DacStore(serverConnection)
public DacStore(
ServerConnection serverConnection
)
public:
DacStore(
ServerConnection^ serverConnection
)
new :
serverConnection:ServerConnection -> DacStore
public function DacStore(
serverConnection : ServerConnection
)
參數
- serverConnection
型別:Microsoft.SqlServer.Management.Common. . :: . .ServerConnection
ServerConnection 值,指定 Database Engine 執行個體的連接。
備註
The serverConnection parameter is required when the application is running in connected mode.