Метод ISfcHasConnection.GetConnection (SfcObjectQueryMode)
Gets a connection of the given SfcObjectQueryModeparameter. This class cannot be inherited.
Пространство имен: Microsoft.SqlServer.Management.RegisteredServers
Сборка: Microsoft.SqlServer.Management.RegisteredServers (в Microsoft.SqlServer.Management.RegisteredServers.dll)
Синтаксис
'Декларация
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Применение
Dim instance As RegisteredServersStore
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
A SfcObjectQueryMode object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
A ISfcConnection object.
Реализует
ISfcHasConnection. . :: . .GetConnection(SfcObjectQueryMode)
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.