Compartilhar via


Método RegisteredServer.GetConnectionObject

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 (em Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxe

'Declaração
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 de retorno

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Consulte também

Referência

RegisteredServer Classe

Namespace Microsoft.SqlServer.Management.RegisteredServers