Freigeben über


GetConnection-Methode

Gets the server connection to the backing storage. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function GetConnection As ISfcConnection
'Usage
Dim instance As ISfcHasConnection
Dim returnValue As ISfcConnection

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

Rückgabewert

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