Share via


ManagementGroupAdministration.CreateCustomMonitoringObjectsFromAgentPendingActions Method

Definition

Caution

Use AdministrationManagement.CreateEnterpriseManagementObjectFromAgentPendingActions instead

Create custom monitoring objects from agent pending actions.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::CustomMonitoringObject ^> ^ CreateCustomMonitoringObjectsFromAgentPendingActions(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringObject ^> ^ monitoringObjects);
[System.Obsolete("Use AdministrationManagement.CreateEnterpriseManagementObjectFromAgentPendingActions instead")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject> CreateCustomMonitoringObjectsFromAgentPendingActions (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringObject> monitoringObjects);
member this.CreateCustomMonitoringObjectsFromAgentPendingActions : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringObject> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject>
Public Function CreateCustomMonitoringObjectsFromAgentPendingActions (monitoringObjects As IList(Of MonitoringObject)) As ReadOnlyCollection(Of CustomMonitoringObject)

Parameters

monitoringObjects
IList<MonitoringObject>

The list of user action manager monitoring objects to create the custom monitoring objects from.

Returns

Returns a ReadOnlyCollection<T> of CustomMonitoringObject object.

Attributes

Applies to