. méthode ()
This method is for internal use only.
Espace de noms : Microsoft.SqlServer.Management.Collector
Assembly : Microsoft.SqlServer.Management.Collector (dans Microsoft.SqlServer.Management.Collector.dll)
Syntaxe
'Déclaration
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- activeQueriesMode
Type : SfcObjectQueryMode
A SfcObjectQueryMode value that specifies the active query mode to use.
Valeur de retour
Type : Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
Implémente
ISfcHasConnectionGetConnection(SfcObjectQueryMode)