CollectorConfigStore.ISfcHasConnection.GetConnection Método (SfcObjectQueryMode)
Gets the server connection to the backing storage that supports the specified query processing mode.
Espacio de nombres: Microsoft.SqlServer.Management.Collector
Ensamblado: Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)
Sintaxis
'Declaración
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- activeQueriesMode
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
An SfcObjectQueryMode value that specifies the query processing mode.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
Returns ISfcConnection. An ISfcConnection object that contains the server connection.
Implementa
ISfcHasConnection.GetConnection(SfcObjectQueryMode)