Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of the specified unit monitor type objects that have the specified name.
Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use Monitoring.GetUnitMonitorTypes()")]
public ReadOnlyCollection<UnitMonitorType> GetUnitMonitorTypes(
    string typeName
)
public:
[ObsoleteAttribute("Please use Monitoring.GetUnitMonitorTypes()")]
ReadOnlyCollection<UnitMonitorType^>^ GetUnitMonitorTypes(
    String^ typeName
)
[<ObsoleteAttribute("Please use Monitoring.GetUnitMonitorTypes()")>]
member GetUnitMonitorTypes : 
        typeName:string -> ReadOnlyCollection<UnitMonitorType>
<ObsoleteAttribute("Please use Monitoring.GetUnitMonitorTypes()")>
Public Function GetUnitMonitorTypes (
    typeName As String
) As ReadOnlyCollection(Of UnitMonitorType)
Parameters
- typeName 
 Type: System.String- The name of the unit monitor types to get. 
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<UnitMonitorType>
Returns aReadOnlyCollection<T> object ofUnitMonitorType objects.
See Also
GetUnitMonitorTypes Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top