Partager via


Méthode RegisteredServersStore.ISfcHasConnection.GetConnection

Gets a connection of the ISfcConnection object. This class cannot be inherited.

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

Syntaxe

'Déclaration
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'Utilisation
Dim instance As RegisteredServersStore 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection  
private override GetConnection : unit -> ISfcConnection
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Valeur de retour

Type : Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.

Implémente

ISfcHasConnection.GetConnection()

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

RegisteredServersStore Classe

Surcharge GetConnection

Espace de noms Microsoft.SqlServer.Management.RegisteredServers