Метод RegisteredServersStore.ISfcHasConnection.GetConnection

Gets a connection of the ISfcConnection object. This class cannot be inherited.

Пространство имен:  Microsoft.SqlServer.Management.RegisteredServers
Сборка:  Microsoft.SqlServer.Management.RegisteredServers (в Microsoft.SqlServer.Management.RegisteredServers.dll)

Синтаксис

'Декларация
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'Применение
Dim instance As RegisteredServersStore 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection  
private override GetConnection : unit -> ISfcConnection
JScript поддерживает использование явных реализаций интерфейса, но не объявление новых.

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.

Реализует

ISfcHasConnection.GetConnection()

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

См. также

Справочник

RegisteredServersStore Класс

Перегрузка GetConnection

Пространство имен Microsoft.SqlServer.Management.RegisteredServers