Partager via


Méthode GetConnection

Gets the server connection to the backing storage. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

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

Syntaxe

'Déclaration
Function GetConnection As ISfcConnection
'Utilisation
Dim instance As ISfcHasConnection
Dim returnValue As ISfcConnection

returnValue = instance.GetConnection()
ISfcConnection GetConnection()
ISfcConnection^ GetConnection()
abstract GetConnection : unit -> ISfcConnection 
function GetConnection() : ISfcConnection

Valeur de retour

Type : Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
An ISfcConnection object that contains the server connection.