Udostępnij przez


Metoda RegisteredServer.GetConnectionObject

Zwraca obiekt interfejs SFC, który reprezentuje połączenie z wystąpienie SQL Server.

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

Składnia

'Deklaracja
Public Function GetConnectionObject As ISfcConnection
'Użycie
Dim instance As RegisteredServer
Dim returnValue As ISfcConnection

returnValue = instance.GetConnectionObject()
public ISfcConnection GetConnectionObject()
public:
ISfcConnection^ GetConnectionObject()
member GetConnectionObject : unit -> ISfcConnection 
public function GetConnectionObject() : ISfcConnection

Wartość zwracana

Typ: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection wartość obiektu interfejs, który reprezentuje połączenie z wystąpienie SQL Server.

Uwagi

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