Gets the agent-managed computer with the specified globally unique identifier (GUID). Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ManagementGroupAdministration
Dim computerId As Guid
Dim returnValue As AgentManagedComputer

returnValue = instance.GetAgentManagedComputer(computerId)

Syntax

Visual Basic
Public Function GetAgentManagedComputer ( _
		computerId As Guid _
) As AgentManagedComputer
C#
public AgentManagedComputer GetAgentManagedComputer (
		Guid computerId
)
C++
public:
AgentManagedComputer^ GetAgentManagedComputer (
		Guid computerId
)
J#
public AgentManagedComputer GetAgentManagedComputer (
		Guid computerId
)
JScript
public function GetAgentManagedComputer (
		computerId : Guid
) : AgentManagedComputer

Parameters

computerId

The GUID for the agent-managed computer you want to reference.

Return Value

Returns an AgentManagedComputer object that represents the specified computer.

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