Share via


ManagementPackRule Class

Definition

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 can be used. Rules are not used to monitor state.

public ref class ManagementPackRule : Microsoft::EnterpriseManagement::Configuration::ManagementPackElement
[System.Serializable]
public class ManagementPackRule : Microsoft.EnterpriseManagement.Configuration.ManagementPackElement
type ManagementPackRule = class
    inherit ManagementPackElement
Public Class ManagementPackRule
Inherits ManagementPackElement
Inheritance
Attributes

Constructors

ManagementPackRule(ManagementPack, String)

Initializes a new ManagementPackRule object by using a management pack and a string identifier.

Properties

Category

Gets or sets the category of the rule.

CategoryValue

Gets the category value.

(Inherited from ManagementPackElement)
Comment

Gets the optional comment associated with this management pack element.

(Inherited from ManagementPackElement)
ConditionDetection

Gets or sets a single condition detection module that takes the output of the data source modules.

ConfirmDelivery

Gets or sets a value that indicates whether to confirm delivery of the rule data.

DataSourceCollection

Gets a collection of one or more data source modules. If more than one data source is specified, a condition detection module is required in the workflow and this module must expect the correct number of data stream inputs.

Description

Gets or sets the description of the management pack element.

(Inherited from ManagementPackElement)
DiscardLevel

Gets or sets the discard level for the rule.

DisplayName

Gets or sets the display name of the management pack element.

(Inherited from ManagementPackElement)
Enabled

Gets or sets a ManagementPackMonitoringLevel value that determines whether the rule is enabled.

HasNonCategoryOverride

Gets or sets a value that indicates whether this object has a non-category override associated with it.

HostManagementPack

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the management pack store.

(Inherited from Extension)
Id

Gets the GUID identifier of the management pack element.

(Inherited from ManagementPackElement)
Identifier

Gets the identifier of the management pack element.

(Inherited from ManagementPackElement)
InstanceName

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the instance name of extensions.

(Inherited from Extension)
LanguageCode

Gets or sets the default three-letter language code for this management pack element, which is used to specify the language for the description and display name of the element.

(Inherited from ManagementPackElement)
LastModified

Gets the time (UTC time) when the item was last modified.

(Inherited from ManagementPackItem)
ManagementGroup

Gets the management group.

(Inherited from ManagementPackElement)
ManagementGroupId

Gets the ID of the management group.

(Inherited from ManagementPackElement)
ManagementPackId

Gets the management pack identifier.

(Inherited from ManagementPackItem)
memberstatus

Gets or sets the status of this item.

(Inherited from ManagementPackItem)
Name

Gets the name of this management pack element.

(Inherited from ManagementPackElement)
Priority

Gets or sets the priority for the rule.

Remotable

Gets or sets a value that indicates whether the workflow will execute for remote monitoring.

Sealed

Gets the value indicating whether the management pack element is sealed or not.

(Inherited from ManagementPackElement)
Status

Gets the current status of the item.

(Inherited from ManagementPackItem)
Target

Gets or sets the management pack class that the rule targets.

TimeAdded

Gets the time (UTC time) when the item was created.

(Inherited from ManagementPackItem)
WriteActionCollection

Gets a collection of one or more write action modules for the rule.

XmlTag

Gets the XML element tag that is defined by this type.

Methods

CheckVersionCompatibility(ManagementPackElement)

Checks version compatibility of the old version of element against the new version of the same element.

(Inherited from ManagementPackElement)
CreateNavigator()

Creates a new XPathNavigator object.

(Inherited from ManagementPackElement)
Equals(Object)

Determines whether this object equals the specified object.

(Inherited from ManagementPackElement)
GetArrayField<T>(String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the array field.

(Inherited from Extension)
GetCategories()

Retrieves a collection of ManagementPackCategory objects defined in this management pack object.

(Inherited from ManagementPackElement)
GetDisplayString(CultureInfo)

Gets the display string for this management pack element in the specified culture.

(Inherited from ManagementPackElement)
GetDisplayString(String)

Gets the display string for this management pack element in the specified language.

(Inherited from ManagementPackElement)
GetField<T>(String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the field.

(Inherited from Extension)
GetFolders()

Gets the collection of management pack folders associated with this management pack element.

(Inherited from ManagementPackElement)
GetHashCode()

Gets the hash code for this object.

(Inherited from ManagementPackElement)
GetImageReferences()

Gets the images associated with this management pack element.

(Inherited from ManagementPackElement)
GetKnowledgeArticle(CultureInfo)

Gets the knowledge article associated with this management pack element.

(Inherited from ManagementPackElement)
GetKnowledgeArticle(String)

Gets the knowledge article for this management pack element in the specified language.

(Inherited from ManagementPackElement)
GetManagementPack()

Gets the management pack that this object is defined in.

(Inherited from ManagementPackElement)
GetOverrideableParameters()

Retrieves the available parameters.

GetOverrideableParametersByModule()

Retrieves the available parameters by module.

PostProcessChange(ManagementPack)

Called after changes to the management pack have been successfully applied. Any post-processing work is completed in this method.

(Inherited from ManagementPackElement)
ReadAttributes(ManagementPack, XmlReader)

Reads the attributes from this management pack element.

ReadElements(ManagementPack, XmlReader)

Reads the child elements from this management pack element.

Reconnect(EnterpriseManagementGroup)

Reconnects to a management pack object after this object has been disconnected.

(Inherited from ManagementPackElement)
Reconnect(ManagementPack)

Reconnects to a management pack object after this object has been disconnected.

SetField<T>(String, T)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sets the field.

(Inherited from Extension)
ToString()

Gets the name of this management pack element.

(Inherited from ManagementPackElement)
UpdateCollection<T>(ManagementPackItemCollection<T>)

Updates the collection of management pack items.

(Inherited from ManagementPackItem)
Verify(VerificationContext)

Verifies a management pack element using the verification context.

WriteAttributes(XmlWriter)

Writes the attributes of this management pack element.

WriteElements(XmlWriter)

Writes the child elements to this management pack element.

WriteXml(XmlWriter)

Serializes the management pack element as XML.

(Inherited from ManagementPackElement)

Applies to