Freigeben über


ISfcHasConnection.GetConnection-Methode

Gets a connection of the ISfcConnection object. 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 As ISfcConnection
    Implements ISfcHasConnection.GetConnection
'Usage
Dim instance As RegisteredServersStore
Dim returnValue As ISfcConnection

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection 
private override GetConnection : unit -> ISfcConnection 
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

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

Implementiert

ISfcHasConnection. . :: . .GetConnection() () () ()

Hinweise

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