Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As ManagementPackMonitorConfigurationOverride |
Syntax
Visual Basic |
---|
<SerializableAttribute> _ Public Class ManagementPackMonitorConfigurationOverride Inherits ManagementPackMonitorOverride |
C# |
---|
[SerializableAttribute] public class ManagementPackMonitorConfigurationOverride : ManagementPackMonitorOverride |
C++ |
---|
[SerializableAttribute] public ref class ManagementPackMonitorConfigurationOverride : public ManagementPackMonitorOverride |
J# |
---|
/** @attribute SerializableAttribute() */ public class ManagementPackMonitorConfigurationOverride extends ManagementPackMonitorOverride |
JScript |
---|
SerializableAttribute public class ManagementPackMonitorConfigurationOverride extends ManagementPackMonitorOverride |
Example
For an example of creating an override for a monitor, see How to Create an Override for a Monitor.
For example code that demonstrates how to get information about an override, see How to Get Information about an Override.
Remarks
The override is defined in a management pack and allows you to change the default value of the configuration parameter. The configuration parameter name and value can be accessed through this type.
To figure out which parameters can have an override, you must look at the definition of the monitor in the management pack that defines the monitor. All the parameters that can have an override are defined in the OverrideableParameters element of the monitor.
You can also call the GetOverrideableParameters method to get the list of parameters programmatically.
Inheritance Hierarchy
Microsoft.EnterpriseManagement.Configuration.ManagementPackItem
Microsoft.EnterpriseManagement.Configuration.ManagementPackElement
Microsoft.EnterpriseManagement.Configuration.ManagementPackOverride
Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitorOverride
Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitorConfigurationOverride