Metodo CollectorConfigStore.ISfcHasConnection.GetConnection (SfcObjectQueryMode)

Gets the server connection to the backing storage that supports the specified query processing mode.

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

Sintassi

'Dichiarazione
Private Function GetConnection ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Utilizzo
Dim instance As CollectorConfigStore 
Dim activeQueriesMode As SfcObjectQueryMode 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection(activeQueriesMode)
ISfcConnection ISfcHasConnection.GetConnection(
    SfcObjectQueryMode activeQueriesMode
)
private:
virtual ISfcConnection^ GetConnection(
    SfcObjectQueryMode activeQueriesMode
) sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : 
        activeQueriesMode:SfcObjectQueryMode -> ISfcConnection  
private override GetConnection : 
        activeQueriesMode:SfcObjectQueryMode -> ISfcConnection
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

Valore restituito

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

Implementa

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

Vedere anche

Riferimento

CollectorConfigStore Classe

Overload GetConnection

Spazio dei nomi Microsoft.SqlServer.Management.Collector