ManagementGroup.GetMonitoringClasses Method (String)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of monitoring classes that match the specified name.

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

Syntax

[ObsoleteAttribute("Don't use this overload. Either provide the Guid or Name and ManagementPack")]
public ReadOnlyCollection<MonitoringClass> GetMonitoringClasses(
    string className
)
public:
[ObsoleteAttribute("Don't use this overload. Either provide the Guid or Name and ManagementPack")]
ReadOnlyCollection<MonitoringClass^>^ GetMonitoringClasses(
    String^ className
)
[<ObsoleteAttribute("Don't use this overload. Either provide the Guid or Name and ManagementPack")>]
member GetMonitoringClasses : 
        className:string -> ReadOnlyCollection<MonitoringClass>
<ObsoleteAttribute("Don't use this overload. Either provide the Guid or Name and ManagementPack")>
Public Function GetMonitoringClasses (
    className As String
) As ReadOnlyCollection(Of MonitoringClass)

Parameters

  • className
    Type: System.String

    The name of the monitoring classes to retrieve.

Return Value

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

Returns aReadOnlyCollection<T> object ofMonitoringClassobjects.

See Also

GetMonitoringClasses Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top