ManagementGroup::GetMonitoringObjects Method (ICollection<Guid>^)

System Center
 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of the monitoring objects that have the specified GUIDs.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

public:
[ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")]
ReadOnlyCollection<MonitoringObject^>^ GetMonitoringObjects(
	ICollection<Guid>^ ids
)

Parameters

ids
Type: System.Collections.Generic::ICollection<Guid>^

The GUIDs of the monitoring objects to get.

For an example of theGetMonitoringObjectsmethod, see How to Asynchronously Run a Management Pack Task

Return to top
Show: