AgentPendingAction Class
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.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
Microsoft.EnterpriseManagement.Common.MonitoringBase
Microsoft.EnterpriseManagement.Administration.AgentPendingAction
Syntax
[SerializableAttribute]
public class AgentPendingAction : MonitoringBase
[SerializableAttribute]
public ref class AgentPendingAction : MonitoringBase
[<SerializableAttribute>]
type AgentPendingAction =
class
inherit MonitoringBase
end
<SerializableAttribute>
Public Class AgentPendingAction
Inherits MonitoringBase
Properties
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. |
Methods
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.) |
Remarks
You can get a list of all pending tasks in a Management Group using GetAgentPendingActions.
Examples
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.
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
ApproveAgentPendingActions
GetAgentPendingActions
RejectAgentPendingActions
Microsoft.EnterpriseManagement.Administration Namespace
Return to top