Compartilhar via


Método Server.ISfcHasConnection.GetConnection

Identificado apenas para fins informativos. Sem suporte. A compatibilidade futura não está garantida. Gets a connection to an Sfc backing store.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object representing the connection to a backing store.

Implementa

ISfcHasConnection.GetConnection()

Consulte também

Referência

Server Classe

Sobrecarregado GetConnection

Namespace Microsoft.SqlServer.Management.Smo