Share via


MonitoringConnector.Reconnect Method

Reconnects the MonitoringConnector object to the management server.

Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As MonitoringConnector
Dim managementGroup As ManagementGroup

instance.Reconnect(managementGroup)

Syntax

'Declaration
Public Overrides Sub Reconnect ( _
    managementGroup As ManagementGroup _
)
public override void Reconnect (
    ManagementGroup managementGroup
)
public:
virtual void Reconnect (
    ManagementGroup^ managementGroup
) override
public void Reconnect (
    ManagementGroup managementGroup
)
public override function Reconnect (
    managementGroup : ManagementGroup
)

Parameters

  • managementGroup
    The Management Group to which the object should reconnect.

Remarks

This method reconnects the MonitoringConnector object to the management server after it has been disconnected from the server.

Use this method to reconnect to the management server in response to the ServerDisconnectedException.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

MonitoringConnector Class
MonitoringConnector Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Send comments about this topic to Microsoft.