ManagementGroup::GetMonitoringDiscoveries<T> Method (ManagementPackDiscoveryCriteria^, ICollection<T>^)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of discovery objects that target the specified monitoring objects.

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

public:
generic<typename T>
where T : PartialMonitoringObject
[ObsoleteAttribute("Please use Monitoring.GetDiscoveries<T>()")]
ReadOnlyCollection<MonitoringDiscovery^>^ GetMonitoringDiscoveries(
	ManagementPackDiscoveryCriteria^ criteria,
	ICollection<T>^ monitoringObjects
)

Parameters

criteria
Type: Microsoft.EnterpriseManagement.Configuration::ManagementPackDiscoveryCriteria^

A value that specifies the kind of discovery objects to be returned.

monitoringObjects
Type: System.Collections.Generic::ICollection<T>^

The discovery objects that target these monitoring objects.

Type Parameters

T

Must be of typePartialMonitoringObject.

Return to top
Show: