次の方法で共有


PartialMonitoringObject.GetMonitoringClasses Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets all the monitoring classes that this monitoring object is an instance of.

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

Syntax

[ObsoleteAttribute("Use this.GetClasses")]
public ReadOnlyCollection<MonitoringClass> GetMonitoringClasses()
public:
[ObsoleteAttribute("Use this.GetClasses")]
ReadOnlyCollection<MonitoringClass^>^ GetMonitoringClasses()
[<ObsoleteAttribute("Use this.GetClasses")>]
member GetMonitoringClasses : unit -> ReadOnlyCollection<MonitoringClass>
<ObsoleteAttribute("Use this.GetClasses")>
Public Function GetMonitoringClasses As ReadOnlyCollection(Of MonitoringClass)

Return Value

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

Returns ReadOnlyCollection<T> of MonitoringClassobjects .

Remarks

This method gets the monitoring classes that are associated with the PartialMonitoringObject object.

See Also

PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top