AgentPendingAction Class
Updated: April 16, 2012
Applies To: Operations Manager for System Center 2012
Represents a task that targets an agent on a managed computer. The task is queued or awaiting administrator approval.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Microsoft.EnterpriseManagement.Common::MonitoringBase
Microsoft.EnterpriseManagement.Administration::AgentPendingAction
| Name | Description | |
|---|---|---|
![]() | AgentName | Gets the name of the agent targeted by the task. |
![]() | AgentPendingActionType | Gets the type of task that is pending. |
![]() | LastModified | Gets the time at which the pending task was last modified. |
![]() | ManagementGroup | (Inherited from MonitoringBase.) |
![]() | ManagementGroupId | (Inherited from MonitoringBase.) |
![]() | ManagementServerName | Gets the name of the primary Management Server from which the targeted agent receives configuration information and to which it sends collected data. |
| Name | Description | |
|---|---|---|
![]() ![]() | CreateCustomMonitoringObjects(IList<AgentPendingAction^>^, ManagementGroup^) | Obsolete. |
![]() ![]() | CreateEnterpriseManagementObjects(IList<AgentPendingAction^>^, ManagementGroup^) | Creates custom monitoring objects from the agent pending actions. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Reconnect(EnterpriseManagementGroup^) | (Inherited from MonitoringBase.) |
![]() | ToString() | (Inherited from MonitoringBase.) |
You can get a list of all pending tasks in a Management Group using GetAgentPendingActions.
The following example shows how to display a list of pending tasks for all servers in a Management Group. In this example, mg is a ManagementGroup instance.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



