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

Visual Basic
Dim instance As ManagementPackRule

Syntax

Visual Basic
<SerializableAttribute> _
Public Class ManagementPackRule
		Inherits ManagementPackElement
C#
[SerializableAttribute] 
public class ManagementPackRule : ManagementPackElement
C++
[SerializableAttribute] 
public ref class ManagementPackRule : public ManagementPackElement
J#
/** @attribute SerializableAttribute() */ 
public class ManagementPackRule extends ManagementPackElement
JScript
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

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