Méthode ISfcHasConnection.GetConnection (SfcObjectQueryMode)

Gets the server connection to the backing storage that supports the specified query processing mode.

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 ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection
'Utilisation
Dim instance As ISfcHasConnection 
Dim activeQueriesMode As SfcObjectQueryMode 
Dim returnValue As ISfcConnection 

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

Paramètres

Valeur de retour

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

Voir aussi

Référence

ISfcHasConnection Interface

Surcharge GetConnection

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc