GetConnection 方法 (SfcObjectQueryMode)

Gets the server connection to the backing storage that supports the specified query processing mode. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Function GetConnection ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection
用法
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

参数

返回值

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