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
System_CAPS_pubproperty AgentName

Gets the name of the agent targeted by the task.

System_CAPS_pubproperty AgentPendingActionType

Gets the type of task that is pending.

System_CAPS_pubproperty LastModified

Gets the time at which the pending task was last modified.

System_CAPS_pubproperty ManagementGroup

(Inherited from MonitoringBase.)

System_CAPS_pubproperty ManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubproperty 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
System_CAPS_pubmethodSystem_CAPS_static CreateCustomMonitoringObjects(IList<AgentPendingAction>, ManagementGroup)

Obsolete.

System_CAPS_pubmethodSystem_CAPS_static CreateEnterpriseManagementObjects(IList<AgentPendingAction>, ManagementGroup)

Creates custom monitoring objects from the agent pending actions.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Reconnect(EnterpriseManagementGroup)

(Inherited from MonitoringBase.)

System_CAPS_pubmethod 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