ManagementGroup.GetUnitMonitorType Method (String, ManagementPack)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the unit monitor type value that has the specified name and that is contained in the specified management pack.

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

Syntax

[ObsoleteAttribute("Please use Monitoring.GetUnitMonitorType()")]
public UnitMonitorType GetUnitMonitorType(
    string typeName,
    ManagementPack managementPack
)
public:
[ObsoleteAttribute("Please use Monitoring.GetUnitMonitorType()")]
UnitMonitorType^ GetUnitMonitorType(
    String^ typeName,
    ManagementPack^ managementPack
)
[<ObsoleteAttribute("Please use Monitoring.GetUnitMonitorType()")>]
member GetUnitMonitorType : 
        typeName:string *
        managementPack:ManagementPack -> UnitMonitorType
<ObsoleteAttribute("Please use Monitoring.GetUnitMonitorType()")>
Public Function GetUnitMonitorType (
    typeName As String,
    managementPack As ManagementPack
) As UnitMonitorType

Parameters

  • typeName
    Type: System.String

    The name of the unit monitor type to get.

Return Value

Type: Microsoft.EnterpriseManagement.Configuration.UnitMonitorType

Returns aUnitMonitorType value.

See Also

GetUnitMonitorType Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top