Compartilhar via


AgentTaskInformation Class

 

Applies To: Operations Manager for System Center 2012

Represents information about a batch of completed tasks that targeted one or more agents on managed computers.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Administration.AgentTaskInformation

Syntax

public class AgentTaskInformation
public ref class AgentTaskInformation 
type AgentTaskInformation = class end
Public Class AgentTaskInformation

Properties

Name Description
System_CAPS_pubproperty BatchId

Gets a globally unique identifier (GUID) for this batch of tasks.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetAgentName(Guid)

Gets the name of the agent targeted by a specified task.

System_CAPS_pubmethod GetAgentNames()

Gets a read-only collection of the names of the agents targeted by the tasks in this batch of tasks.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetTaskIds()

Gets a read-only collection of the globally unique identifiers (GUIDs) for the tasks in this batch of tasks.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

Examples of tasks that target agents include tasks that install, repair, or uninstall an agent. This class contains information that you can use to obtain the name of an agent affected by a specified task.

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.

See Also

AgentTaskResult
M:Microsoft.EnterpriseManagement.Administration.ManagementServer.SubmitInstallAgents(System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject},System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Administration.ManagementServer},Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration,Microsoft.EnterpriseManagement.MonitoringTaskStatusChangeCallback)
M:Microsoft.EnterpriseManagement.Administration.ManagementServer.SubmitRepairAgents(System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Administration.AgentManagedComputer},Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration,Microsoft.EnterpriseManagement.MonitoringTaskStatusChangeCallback)
M:Microsoft.EnterpriseManagement.Administration.ManagementServer.SubmitUninstallAgents(System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Administration.AgentManagedComputer},Microsoft.EnterpriseManagement.Administration.UninstallAgentConfiguration,Microsoft.EnterpriseManagement.MonitoringTaskStatusChangeCallback)
Microsoft.EnterpriseManagement.Administration Namespace

Return to top