ManagementGroup.GetMonitoringObjects Method (ICollection<Guid>)

 

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)

Syntax

[ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")]
public ReadOnlyCollection<MonitoringObject> GetMonitoringObjects(
    ICollection<Guid> ids
)
public:
[ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")]
ReadOnlyCollection<MonitoringObject^>^ GetMonitoringObjects(
    ICollection<Guid>^ ids
)
[<ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")>]
member GetMonitoringObjects : 
        ids:ICollection<Guid> -> ReadOnlyCollection<MonitoringObject>
<ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")>
Public Function GetMonitoringObjects (
    ids As ICollection(Of Guid)
) As ReadOnlyCollection(Of MonitoringObject)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringObject>

Returns aReadOnlyCollection<T> object ofMonitoringObject objects.

Examples

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

See Also

GetMonitoringObjects Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top