Partager via


Méthode RegisteredServer.GetConnectionObject

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

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
Public Function GetConnectionObject As ISfcConnection
'Utilisation
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

Valeur de retour

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Voir aussi

Référence

RegisteredServer Classe

Espace de noms Microsoft.SqlServer.Management.RegisteredServers