Share via


RegisteredServer.GetConnectionObject Method

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

Return Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.