Freigeben über


GetConnectionObject-Methode

Returns the SFC interface object that represents the connection to the instance of SQL Server.

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

Syntax

'Declaration
Public Function GetConnectionObject As ISfcConnection
'Usage
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

Rückgabewert

Typ: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
A ISfcConnection interface object value that represents the connection to the instance of SQL Server.

Hinweise

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