Defines an override for a diagnostic. You can use this type to find the identifier for the diagnostic that has the override and the override value. Cast an object of this type as one of the derived types to access override information such as the diagnostic property or configuration parameter that is overridden. For a list of derived classes, see the inheritance hierarchy.
The following tables list the members exposed by the ManagementPackDiagnosticOverride type.
Protected Constructors
Name | Description | |
---|---|---|
ManagementPackDiagnosticOverride | Overloaded. Initializes a new ManagementPackDiagnosticOverride object. |
Public Properties (see also Protected Properties)
Name | Description | |
---|---|---|
Comment | Gets the optional comment associated with this management pack element. (inherited from ManagementPackElement) | |
Context | Gets or sets the class that is the context for the override. (inherited from ManagementPackOverride) | |
ContextInstance | Gets or sets the identifier for the instance of the monitoring class that is the context for the override. The context instance can be a monitoring object or a group. If this property is null, the context for the override is a class rather than a class instance, in which case the context can be found in the Context property. (inherited from ManagementPackOverride) | |
Description | Gets or sets the description of the management pack element. (inherited from ManagementPackElement) | |
Diagnostic | Gets or sets the diagnostic object that is overridden. | |
DisplayName | Gets or sets the display name of the management pack element. (inherited from ManagementPackElement) | |
Enforced | Gets or sets a Boolean value that determines whether the override is enforced. (inherited from ManagementPackOverride) | |
Id | Gets the GUID identifier of the management pack element. (inherited from ManagementPackElement) | |
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) | |
Name | Gets the name of this management pack element. (inherited from ManagementPackElement) | |
Status | Gets the current status of the item. (inherited from ManagementPackItem) | |
TimeAdded | Gets the time (UTC time) when the item was created. (inherited from ManagementPackItem) | |
Value | Gets or sets a string value for the value of the override. (inherited from ManagementPackOverride) | |
XmlTag | Gets the XML element tag that is defined by this type. (inherited from ManagementPackItem) |
Protected Properties
Name | Description | |
---|---|---|
memberstatus | Gets or sets the status of this item. (inherited from ManagementPackItem) |
Public Methods (see also Protected Methods)
Name | Description | |
---|---|---|
CreateNavigator | Creates a new XPathNavigator object. (inherited from ManagementPackElement) | |
Equals | Overloaded. (inherited from ManagementPackElement) | |
GetCategories | Retrieves a collection of ManagementPackCategory objects defined in this management pack object. (inherited from ManagementPackElement) | |
GetDisplayString | Overloaded. (inherited from ManagementPackElement) | |
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 | Overloaded. (inherited from ManagementPackElement) | |
GetManagementPack | Gets the management pack that this object is defined in. (inherited from ManagementPackElement) | |
GetType | (inherited from Object) | |
Reconnect | Overloaded. | |
ReferenceEquals | (inherited from Object) | |
ToString | Gets the name of this management pack element. (inherited from ManagementPackElement) | |
WriteXml | (inherited from ManagementPackElement) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
PostProcessChange | (inherited from ManagementPackElement) | |
ReadAttributes | Overridden. Reads the attributes from this Management Pack element. | |
ReadElements | Overridden. Reads the child elements from this Management Pack element. | |
UpdateCollection | (inherited from ManagementPackItem) | |
WriteAttributes | Overridden. Writes the attributes of this Management Pack element. | |
WriteElements | Overridden. Writes the child elements to this Management Pack element. |
See Also
Send comments about this topic to Microsoft.