AgentTaskInformation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains task information to get agent name from task id.
public ref class AgentTaskInformation
public class AgentTaskInformation
type AgentTaskInformation = class
Public Class AgentTaskInformation
- Inheritance
-
AgentTaskInformation
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.
Properties
BatchId |
Batch id for task information. |
Methods
GetAgentName(Guid) |
Get agent name from task id. |
GetAgentNames() |
Get a copy of the list of agent names. |
GetTaskIds() |
Get a copy of the list of task ids. |
Applies to
See also
- AgentTaskResult
- <xref:Microsoft.EnterpriseManagement.Administration.ManagementServer.SubmitInstallAgents(System.Collections.ObjectModel.ReadOnlyCollection%7bMicrosoft.EnterpriseManagement.Monitoring.CustomMonitoringObject%7d%2cSystem.Collections.ObjectModel.ReadOnlyCollection%7bMicrosoft.EnterpriseManagement.Administration.ManagementServer%7d%2cMicrosoft.EnterpriseManagement.Administration.InstallAgentConfiguration%2cMicrosoft.EnterpriseManagement.MonitoringTaskStatusChangeCallback)>
- <xref:Microsoft.EnterpriseManagement.Administration.ManagementServer.SubmitRepairAgents(System.Collections.ObjectModel.ReadOnlyCollection%7bMicrosoft.EnterpriseManagement.Administration.AgentManagedComputer%7d%2cMicrosoft.EnterpriseManagement.Administration.RepairAgentConfiguration%2cMicrosoft.EnterpriseManagement.MonitoringTaskStatusChangeCallback)>
- <xref:Microsoft.EnterpriseManagement.Administration.ManagementServer.SubmitUninstallAgents(System.Collections.ObjectModel.ReadOnlyCollection%7bMicrosoft.EnterpriseManagement.Administration.AgentManagedComputer%7d%2cMicrosoft.EnterpriseManagement.Administration.UninstallAgentConfiguration%2cMicrosoft.EnterpriseManagement.MonitoringTaskStatusChangeCallback)>