Compartir a través de


ISfcHasConnection.GetConnection Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Dac
Ensamblado:  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Sintaxis

'Declaración
Private Function GetConnection As ISfcConnection
    Implements ISfcHasConnection.GetConnection
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.

Valor devuelto

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

Implementa

ISfcHasConnection. . :: . .GetConnection() () () ()