Freigeben über


DacDomain.ISfcHasConnection.GetConnection Method

Gets a connection to the instance of the Database Engine serving as a backing store.

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

Syntax

'Declaration
Private Function GetConnection As ISfcConnection
    Implements ISfcHasConnection.GetConnection
'Usage
Dim instance As DacDomain
Dim returnValue As ISfcConnection

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection 
private override GetConnection : unit -> ISfcConnection 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: Microsoft.SqlServer.Management.Common.ISfcConnection
Returns an ISfcConnection object that contains the connection.

Implements

ISfcHasConnection.GetConnection()

See Also

Reference

DacDomain Class

GetConnection Overload

Microsoft.SqlServer.Management.Dac Namespace