Freigeben über


CollectorConfigStore.ISfcHasConnection.GetConnection-Methode

Gets the server connection to the backing storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'Usage
Dim instance As CollectorConfigStore 
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

Typ: Microsoft.SqlServer.Management.Common.ISfcConnection
Returns ISfcConnection. An ISfcConnection object that contains the server connection.

Implementiert

ISfcHasConnection.GetConnection()

Siehe auch

Verweis

CollectorConfigStore Klasse

GetConnection-Überladung

Microsoft.SqlServer.Management.Collector-Namespace