共用方式為


ISfcHasConnection.GetConnection 方法 (SfcObjectQueryMode)

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

命名空間:  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.

請參閱

參考

ISfcHasConnection 介面

GetConnection 多載

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間