Метод 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
Параметры
- activeQueriesMode
Тип: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectQueryMode
An SfcObjectQueryMode value that specifies the query processing mode.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
An ISfcConnection object that contains the server connection.