Udostępnij przez


Metoda RegisteredServersStore.ISfcHasConnection.GetConnection

Uzyskuje połączenie z ISfcConnection obiektu.Klasa ta nie może być dziedziczona.

Przestrzeń nazw:  Microsoft.SqlServer.Management.RegisteredServers
Zestaw:  Microsoft.SqlServer.Management.RegisteredServers (w Microsoft.SqlServer.Management.RegisteredServers.dll)

Składnia

'Deklaracja
Private Function GetConnection As ISfcConnection
    Implements ISfcHasConnection.GetConnection
'Użycie
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 
Język JScript obsługuje używanie jawnych implementacji interfejsów, ale nie obsługuje deklarowania nowych.

Wartość zwracana

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

Implementacje

ISfcHasConnection.GetConnection()

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.