IConnectionManager Interface
Collapse the table of content
Expand the table of content

IConnectionManager Interface

IIS 7.0

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

Namespace:  Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public interface IConnectionManager

The IConnectionManager type exposes the following members.

Public propertyConnectionsGets the set of currently active management sessions, each represented by a Connection object.
Public propertyIsDirtyGets a value indicating whether information in the connection manager has changed.
Public propertyRegisteredConnectionsGets the list of registered connections in IIS Manager.
Public propertySupportsMultipleConnectionsGets a value indicating whether multiple connections are supported.

Public methodActivateConnectionActivates a connection by opening a new management session.
Public methodDeactivateConnectionDeactivates a connection by closing a management session.
Public methodGetConnectionActiveStateReturns the state of the specified connection.
Public methodPerformLoginConnects with the Web management server to perform a logon operation.
Public methodRefreshConnectionRefreshes the connection by logging on to the service.
Public methodSaveSaves registered collections into the user preferences.

Public eventConnectionActivatedOccurs when a connection is activated.
Public eventConnectionDeactivatedOccurs when a connection is deactivated.
Public eventConnectionRefreshedOccurs when a connection has been refreshed.
Public eventConnectionRefreshingOccurs when a connection is being refreshed.
Public eventIsDirtyChangedOccurs when the value of the IsDirty property is changed.

Community Additions

© 2015 Microsoft