Connects the agentless managed computer to the Management Group. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As RemotelyManagedComputer
Dim managementGroup As ManagementGroup

instance.Reconnect(managementGroup)

Syntax

Visual Basic
Public Overrides Sub Reconnect ( _
		managementGroup As ManagementGroup _
)
C#
public override void Reconnect (
		ManagementGroup managementGroup
)
C++
public:
virtual void Reconnect (
		ManagementGroup^ managementGroup
) override
J#
public void Reconnect (
		ManagementGroup managementGroup
)
JScript
public override function Reconnect (
		managementGroup : ManagementGroup
)

Parameters

managementGroup

The Management Group to which the agentless managed computer connects.

Remarks

You can use this method to reconnect an agentless managed computer to a Management Group when an ObjectNotConnectedException is thrown (indicating that the computer is no longer connected to a Management Group).


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