Share via


ManagementPackRecovery Class

Definition

Represents a management pack element that is defined by the ManagementPackRecovery complex type. This type defines a recovery object that is triggered by a monitor state change or by a diagnostic object execution. The workflow performs an action that can change the state of a monitored component.

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

Constructors

ManagementPackRecovery(ManagementPack, String, ManagementPackAccessibility)

Initializes a new ManagementPackRecovery object by using a management pack, a string identifier, and a management pack accessibility.

Properties

Accessibility

Gets or sets the accessibility of the management pack item.

(Inherited from ManagementPackAccessibleElement)
Category

Gets or sets the category of the recovery. The category of the recovery should be the same as the category of the monitor that the recovery is targeting.

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 an optional condition detection module that can evaluate the state change data and target properties to determine whether to execute the write action. If the recovery is executed on a diagnostic object, the diagnostic data can also be evaluated using the condition detection module.

Description

Gets or sets the description of the management pack element.

(Inherited from ManagementPackElement)
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 recovery object is enabled.

ExecuteOnDiagnostic

Gets or sets the identifier of a diagnostic object targeted at the same class and the same monitor as the recovery object. If this value is specified, the recovery will execute only when the diagnostic has executed and returned data.

ExecuteOnState

Gets or sets the health state of the targeted monitor that will cause the recovery to execute.

HasNonCategoryOverride

Gets a value that indicates whether this object has a non-category override.

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)
Monitor

Gets or sets the identifier of the monitor this recovery is targeted at. The monitor must be targeted at the same class the recovery is targeted at or at a class that the targeted class derives from.

Name

Gets the name of this management pack element.

(Inherited from ManagementPackElement)
Remotable

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

ResetMonitor

Gets or sets a value that indicates whether execution of the recovery will cause the monitor to reset.

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 recovery object targets.

TimeAdded

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

(Inherited from ManagementPackItem)
Timeout

Gets or sets the time that the recovery object is allowed to execute for before being terminated by the health service.

WriteAction

Gets or sets a write action module definition that is executed. If a condition detection is specified, the write action will be executed only if the data passes through the condition detection module.

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.

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 the 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