Метод ISfcHasConnection.GetConnection (SfcObjectQueryMode)
Gets a connection to the instance of the Database Engine serving as a backing store that supports the specified query processing mode.
Пространство имен: Microsoft.SqlServer.Management.Dac
Сборка: Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)
Синтаксис
'Декларация
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Применение
Dim instance As DacDomain
Dim activeQueriesMode As SfcObjectQueryMode
Dim returnValue As ISfcConnection
returnValue = CType(instance, ISfcHasConnection).GetConnection(activeQueriesMode)
ISfcConnection ISfcHasConnection.GetConnection(
SfcObjectQueryMode activeQueriesMode
)
private:
virtual ISfcConnection^ GetConnection(
SfcObjectQueryMode activeQueriesMode
) sealed = ISfcHasConnection::GetConnection
private abstract GetConnection :
activeQueriesMode:SfcObjectQueryMode -> ISfcConnection
private override GetConnection :
activeQueriesMode:SfcObjectQueryMode -> ISfcConnection
JScript поддерживает использование явных реализаций интерфейса, но не объявление новых.
Параметры
- activeQueriesMode
Тип: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectQueryMode
An SfcObjectQueryMode that specifies the query processing mode.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
Returns an ISfcConnection object that contains the connection.
Реализует
ISfcHasConnection. . :: . .GetConnection(SfcObjectQueryMode)
См. также