Freigeben über


RegisteredServersStore.ISfcHasConnection.GetConnection-Methode (SfcObjectQueryMode)

Gets a connection of the given SfcObjectQueryModeparameter. This class cannot be inherited.

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

Syntax

'Declaration
Private Function GetConnection ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Parameter

Rückgabewert

Typ: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.

Implementiert

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

RegisteredServersStore Klasse

GetConnection-Überladung

Microsoft.SqlServer.Management.RegisteredServers-Namespace