Метод RegisteredServersStore.ISfcHasConnection.SetConnection

Sets a connection. This class cannot be inherited.

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

Синтаксис

'Декларация
Private Sub SetConnection ( _
    connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Применение
Dim instance As RegisteredServersStore 
Dim connection As ISfcConnection 

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

Параметры

Реализует

ISfcHasConnection.SetConnection(ISfcConnection)

Замечания

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

См. также

Справочник

RegisteredServersStore Класс

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