ManagementPackRule Class

Represents a Management Pack element that is defined by the ManagementPackRule complex type. This type defines a rule that consists of at least a single data source and a single write action. Optionally, a single condition detection module may be used. Rules are not used to monitor state.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackRule

Syntax

'Declaration
<SerializableAttribute> _
Public Class ManagementPackRule
    Inherits ManagementPackElement
[SerializableAttribute] 
public class ManagementPackRule : ManagementPackElement
[SerializableAttribute] 
public ref class ManagementPackRule : public ManagementPackElement
/** @attribute SerializableAttribute() */ 
public class ManagementPackRule extends ManagementPackElement
SerializableAttribute 
public class ManagementPackRule extends ManagementPackElement

Example

For an example that shows how to use the ManagementPackRule class, see How to Retrieve Information from a Management Pack.

Inheritance Hierarchy

System.Object
   Microsoft.EnterpriseManagement.Configuration.ManagementPackItem
     Microsoft.EnterpriseManagement.Configuration.ManagementPackElement
      Microsoft.EnterpriseManagement.Configuration.ManagementPackRule
         Microsoft.EnterpriseManagement.Configuration.MonitoringRule

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPackRule Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.