Share via


ManagementGroup.GetMonitoringModuleType Method

Definition

Retrieves the specified monitoring module type.

Overloads

GetMonitoringModuleType(Guid)
Obsolete.

Retrieves a single module type defined in this management group.

GetMonitoringModuleType(String, ManagementPack)
Obsolete.

Retrieves a single module type defined in this management group.

GetMonitoringModuleType(Guid)

Caution

Please use Monitoring.GetModuleType()

Retrieves a single module type defined in this management group.

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

Parameters

id
Guid

The id of the module type.

Returns

An instantiated MonitoringModuleType.

Attributes

Exceptions

A MonitoringModuleType with that id was not found.

Applies to

GetMonitoringModuleType(String, ManagementPack)

Caution

Please use Monitoring.GetModuleType()

Retrieves a single module type defined in this management group.

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

Parameters

typeName
String

The module type name.

managementPack
ManagementPack

The management pack to search for the type in.

Returns

An instantiated MonitoringModuleType.

Attributes

Exceptions

A MonitoringModuleType with that name was not found.

typeName is null.

typeName.Length is 0.

Applies to