IConnectionManager Interface

Definition

Represents a service that manages connections, including active, new, and serialized (favorites) connections. Also performs the logon handshake with the server.

public interface class IConnectionManager
public interface IConnectionManager
type IConnectionManager = interface
Public Interface IConnectionManager
Derived

Properties

Connections

Gets the set of currently active management sessions, each represented by a Connection object.

IsDirty

Gets a value indicating whether information in the connection manager has changed.

RegisteredConnections

Gets the list of registered connections in IIS Manager.

SupportsMultipleConnections

Gets a value indicating whether multiple connections are supported.

Methods

ActivateConnection(ConnectionInfo)

Activates a connection by opening a new management session.

DeactivateConnection(Connection)

Deactivates a connection by closing a management session.

GetConnectionActiveState(ConnectionInfo)

Returns the state of the specified connection.

PerformLogin(ConnectionInfo)

Connects with the Web management server to perform a logon operation.

RefreshConnection(Connection)

Refreshes the connection by logging on to the service.

Save()

Saves registered collections into the user preferences.

Events

ConnectionActivated

Occurs when a connection is activated.

ConnectionDeactivated

Occurs when a connection is deactivated.

ConnectionRefreshed

Occurs when a connection has been refreshed.

ConnectionRefreshing

Occurs when a connection is being refreshed.

IsDirtyChanged

Occurs when the value of the IsDirty property is changed.

Applies to