Compartir a través de


GetConnectionObject Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.RegisteredServers
Ensamblado:  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxis

'Declaración
Public Function GetConnectionObject As ISfcConnection
'Uso
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

Valor devuelto

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

Notas

Este espacio de nombres, clase o miembro solo se admite en la versión 2.0 de Microsoft .NET Framework.