Share via


Méthode ISfcHasConnection.GetConnection

Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. Obtient une connexion à un magasin de stockage Sfc.

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

Syntaxe

'Déclaration
Private Function GetConnection As ISfcConnection
    Implements ISfcHasConnection.GetConnection
'Utilisation
Dim instance As Server
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
Objet ISfcConnection qui représente la connexion à un magasin de stockage.

Implémente

ISfcHasConnection. . :: . .GetConnection() () () ()