Поделиться через


Метод 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