Méthode ISfcHasConnection.GetConnection
Gets a connection to the instance of the Database Engine serving as a backing store.
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'Déclaration
Private Function GetConnection As ISfcConnection
Implements ISfcHasConnection.GetConnection
'Utilisation
Dim instance As DacDomain
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
Returns an ISfcConnection object that contains the connection.
Implémente
Voir aussi