AgentPendingAction.CreateCustomMonitoringObjects Method
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.
Caution
Use AgentPendingAction.CreatableEnterpriseManagementObject instead
Create custom monitoring objects from agent pending actions.
public:
static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::CustomMonitoringObject ^> ^ CreateCustomMonitoringObjects(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentPendingAction ^> ^ agentPendingActions, Microsoft::EnterpriseManagement::ManagementGroup ^ managementGroup);
[System.Obsolete("Use AgentPendingAction.CreatableEnterpriseManagementObject instead")]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject> CreateCustomMonitoringObjects (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentPendingAction> agentPendingActions, Microsoft.EnterpriseManagement.ManagementGroup managementGroup);
static member CreateCustomMonitoringObjects : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentPendingAction> * Microsoft.EnterpriseManagement.ManagementGroup -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject>
Public Shared Function CreateCustomMonitoringObjects (agentPendingActions As IList(Of AgentPendingAction), managementGroup As ManagementGroup) As ReadOnlyCollection(Of CustomMonitoringObject)
Parameters
- agentPendingActions
- IList<AgentPendingAction>
List of agent pending actions.
- managementGroup
- ManagementGroup
Returns
List of CustomMonitoringObject for each agent computer.
- Attributes