Share via


DacStore Constructor (ServerConnection)

Initializes a new instance of the DacStore class connected to the specified instance of the Database Engine.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Sub New ( _
    serverConnection As ServerConnection _
)
'Usage
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
)

Parameters

Remarks

The serverConnection parameter is required when the application is running in connected mode.