Condividi tramite


Metodo GetConnection

Gets the server connection to the backing storage. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Function GetConnection As ISfcConnection
'Utilizzo
Dim instance As ISfcHasConnection
Dim returnValue As ISfcConnection

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

Valore restituito

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