ManagementPackTask Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a management pack element that is defined by the ManagementPackTask complex type. This type defines a task in a management pack that is triggered on demand by a user. The task consists of a single probe action or a single write action.
public ref class ManagementPackTask : Microsoft::EnterpriseManagement::Configuration::ManagementPackAccessibleElement
[System.Serializable]
public class ManagementPackTask : Microsoft.EnterpriseManagement.Configuration.ManagementPackAccessibleElement
type ManagementPackTask = class
inherit ManagementPackAccessibleElement
Public Class ManagementPackTask
Inherits ManagementPackAccessibleElement
- Inheritance
-
ManagementPackTask
- Attributes
Constructors
ManagementPackTask(ManagementPack, String, ManagementPackAccessibility) |
Initializes a new ManagementPackTask object by using a management pack, a string identifier, and a management pack accessibility. |
ManagementPackTask(ManagementPackTask) |
Initializes a new instance of the ManagementPackTask class using the specified parameter as a template to copy. |
Properties
Accessibility |
Gets or sets the accessibility of the management pack item. (Inherited from ManagementPackAccessibleElement) |
CanCancel |
Gets or sets a value that indicates whether the management pack task can be cancelled. |
CanSuspend |
Gets or sets a value that indicates whether the management pack task can be suspended. |
Category |
Gets or sets the category that the task is in. |
CategoryValue |
Gets the category value. (Inherited from ManagementPackElement) |
Comment |
Gets the optional comment associated with this management pack element. (Inherited from ManagementPackElement) |
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 value that indicates whether the task is enabled. |
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) |
ProbeAction |
Gets or sets the probe action of the task. This is the action that the user wants the task to complete. A probe action is used when the task does not change the state of any application. |
Remotable |
Gets or sets a value that indicates whether the task will execute for remote monitoring. |
RunLocation |
Gets or sets a value that indicates whether there is a run location for management pack task. |
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 class that the task targets. |
TimeAdded |
Gets the time (UTC time) when the item was created. (Inherited from ManagementPackItem) |
Timeout |
Gets or sets the time that the workflow is allowed to execute before being terminated by the health service. |
WriteAction |
Gets or sets the write action. |
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() |
Gets the parameters of the task that are overrideable. |
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) |