ManagementGroup.GetUnitMonitorTypes Method

Definition

Retrieves defined unit monitor types.

Overloads

GetUnitMonitorTypes(String)
Obsolete.

Retrieves unit monitor types defined in this management group.

GetUnitMonitorTypes(ManagementPackUnitMonitorTypeCriteria)
Obsolete.

Gets UnitMonitorTypes based on criteria.

GetUnitMonitorTypes()
Obsolete.

Retrieves all the unit monitor types defined in this management group.

GetUnitMonitorTypes(ICollection<Guid>)
Obsolete.

Retrieves the monitor types in this management group.

GetUnitMonitorTypes(String)

Caution

Please use Monitoring.GetUnitMonitorTypes()

Retrieves unit monitor types defined in this management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::UnitMonitorType ^> ^ GetUnitMonitorTypes(System::String ^ typeName);
[System.Obsolete("Please use Monitoring.GetUnitMonitorTypes()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.UnitMonitorType> GetUnitMonitorTypes (string typeName);
member this.GetUnitMonitorTypes : string -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.UnitMonitorType>
Public Function GetUnitMonitorTypes (typeName As String) As ReadOnlyCollection(Of UnitMonitorType)

Parameters

typeName
String

The unit monitor type name.

Returns

An instantiated UnitMonitorType collection.

Attributes

Exceptions

A UnitMonitorType with that name was not found.

typeName is null.

typeName.Length is 0.

Applies to

GetUnitMonitorTypes(ManagementPackUnitMonitorTypeCriteria)

Caution

Please use Monitoring.GetUnitMonitorTypes()

Gets UnitMonitorTypes based on criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::UnitMonitorType ^> ^ GetUnitMonitorTypes(Microsoft::EnterpriseManagement::Configuration::ManagementPackUnitMonitorTypeCriteria ^ criteria);
[System.Obsolete("Please use Monitoring.GetUnitMonitorTypes()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.UnitMonitorType> GetUnitMonitorTypes (Microsoft.EnterpriseManagement.Configuration.ManagementPackUnitMonitorTypeCriteria criteria);
member this.GetUnitMonitorTypes : Microsoft.EnterpriseManagement.Configuration.ManagementPackUnitMonitorTypeCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.UnitMonitorType>
Public Function GetUnitMonitorTypes (criteria As ManagementPackUnitMonitorTypeCriteria) As ReadOnlyCollection(Of UnitMonitorType)

Parameters

criteria
ManagementPackUnitMonitorTypeCriteria

The criteria.

Returns

A collection of UnitMonitorType that match the criteria.

Attributes

Applies to

GetUnitMonitorTypes()

Caution

Please use Monitoring.GetUnitMonitorTypes()

Retrieves all the unit monitor types defined in this management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::UnitMonitorType ^> ^ GetUnitMonitorTypes();
[System.Obsolete("Please use Monitoring.GetUnitMonitorTypes()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.UnitMonitorType> GetUnitMonitorTypes ();
member this.GetUnitMonitorTypes : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.UnitMonitorType>
Public Function GetUnitMonitorTypes () As ReadOnlyCollection(Of UnitMonitorType)

Returns

A collection of UnitMonitorType objects.

Attributes

Applies to

GetUnitMonitorTypes(ICollection<Guid>)

Caution

Please use Monitoring.GetUnitMonitorTypes()

Retrieves the monitor types in this management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::UnitMonitorType ^> ^ GetUnitMonitorTypes(System::Collections::Generic::ICollection<Guid> ^ ids);
[System.Obsolete("Please use Monitoring.GetUnitMonitorTypes()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.UnitMonitorType> GetUnitMonitorTypes (System.Collections.Generic.ICollection<Guid> ids);
member this.GetUnitMonitorTypes : System.Collections.Generic.ICollection<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.UnitMonitorType>
Public Function GetUnitMonitorTypes (ids As ICollection(Of Guid)) As ReadOnlyCollection(Of UnitMonitorType)

Parameters

ids
ICollection<Guid>

The ids of the types.

Returns

The types.

Attributes

Applies to