Condividi tramite


Metodo Server.ISfcHasConnection.GetConnection

Identificato solo a scopo informativo. Non supportato. Non è garantita la compatibilità con le versioni future. Gets a connection to an Sfc backing store.

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

Sintassi

'Dichiarazione
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'Utilizzo
Dim instance As Server 
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
A ISfcConnection object representing the connection to a backing store.

Implementa

ISfcHasConnection.GetConnection()

Vedere anche

Riferimento

Server Classe

Overload GetConnection

Spazio dei nomi Microsoft.SqlServer.Management.Smo