Freigeben über


GetConnection-Methode (SfcObjectQueryMode)

Gets the server connection to the backing storage that supports the specified query processing mode. 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 ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection
'Usage
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

Parameter

Rückgabewert

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