Condividi tramite


Metodo ISfcHasConnection.GetConnection

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

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

'Dichiarazione
Private Function GetConnection As ISfcConnection
    Implements ISfcHasConnection.GetConnection
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Valore restituito

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

Implementa

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