Metodo RegisteredServersStore.ISfcHasConnection.GetConnection (SfcObjectQueryMode)
Gets a connection of the given SfcObjectQueryModeparameter. This class cannot be inherited.
Spazio dei nomi Microsoft.SqlServer.Management.RegisteredServers
Assembly: Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)
Sintassi
'Dichiarazione
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Utilizzo
Dim instance As RegisteredServersStore
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
- activeQueriesMode
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
A SfcObjectQueryMode object.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.
Implementa
ISfcHasConnection.GetConnection(SfcObjectQueryMode)
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.RegisteredServers