Share via


ManagementGroup.GetMonitoringDataType Method

Definition

Retrieves a monitoring data type that is defined in this management group.

Overloads

GetMonitoringDataType(String, ManagementPack)
Obsolete.

Retrieves a single data type defined in this management group.

GetMonitoringDataType(Guid)
Obsolete.

Retrieves a single data type defined in this management group.

GetMonitoringDataType(String, ManagementPack)

Caution

Please use Monitoring.GetDataType()

Retrieves a single data type defined in this management group.

public:
 Microsoft::EnterpriseManagement::Configuration::MonitoringDataType ^ GetMonitoringDataType(System::String ^ typeName, Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
[System.Obsolete("Please use Monitoring.GetDataType()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringDataType GetMonitoringDataType (string typeName, Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
member this.GetMonitoringDataType : string * Microsoft.EnterpriseManagement.Configuration.ManagementPack -> Microsoft.EnterpriseManagement.Configuration.MonitoringDataType
Public Function GetMonitoringDataType (typeName As String, managementPack As ManagementPack) As MonitoringDataType

Parameters

typeName
String

The data type name.

managementPack
ManagementPack

The management pack to search for the type in.

Returns

An instantiated MonitoringDataType.

Attributes

Exceptions

A MonitoringDataType with that name was not found.

typeName is null.

typeName.Length is 0.

Applies to

GetMonitoringDataType(Guid)

Caution

Please use Monitoring.GetDataType()

Retrieves a single data type defined in this management group.

public:
 Microsoft::EnterpriseManagement::Configuration::MonitoringDataType ^ GetMonitoringDataType(Guid id);
[System.Obsolete("Please use Monitoring.GetDataType()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringDataType GetMonitoringDataType (Guid id);
member this.GetMonitoringDataType : Guid -> Microsoft.EnterpriseManagement.Configuration.MonitoringDataType
Public Function GetMonitoringDataType (id As Guid) As MonitoringDataType

Parameters

id
Guid

The id of the data type.

Returns

An instantiated MonitoringDataType.

Attributes

Exceptions

A MonitoringDataType with that id was not found.

Applies to