Partager via


ManagementPackDiscoveryConfigurationOverride Class

Defines an override a for a custom configuration parameter for a discovery. 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.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackDiscoveryConfigurationOverride

Syntax

'Declaration
<SerializableAttribute> _
Public Class ManagementPackDiscoveryConfigurationOverride
    Inherits ManagementPackDiscoveryOverride
[SerializableAttribute] 
public class ManagementPackDiscoveryConfigurationOverride : ManagementPackDiscoveryOverride
[SerializableAttribute] 
public ref class ManagementPackDiscoveryConfigurationOverride : public ManagementPackDiscoveryOverride
/** @attribute SerializableAttribute() */ 
public class ManagementPackDiscoveryConfigurationOverride extends ManagementPackDiscoveryOverride
SerializableAttribute 
public class ManagementPackDiscoveryConfigurationOverride extends ManagementPackDiscoveryOverride

Example

For an example of creating an override for a discovery, see How to Create an Override for a Discovery.

For example code that demonstrates how to get information about an override, see How to Get Information about an Override.

Remarks

In order to figure out which parameters can be overridden, you must look at the definition of the discovery object in the Management Pack that defines the discovery object. All the parameters that can be overridden are defined in the OverrideableParameters element of the discovery.

You can also call the GetOverrideableParameters method to get the list of parameters programmatically.

Inheritance Hierarchy

System.Object
   Microsoft.EnterpriseManagement.Configuration.ManagementPackItem
     Microsoft.EnterpriseManagement.Configuration.ManagementPackElement
       Microsoft.EnterpriseManagement.Configuration.ManagementPackOverride
         Microsoft.EnterpriseManagement.Configuration.ManagementPackDiscoveryOverride
          Microsoft.EnterpriseManagement.Configuration.ManagementPackDiscoveryConfigurationOverride
             Microsoft.EnterpriseManagement.Configuration.MonitoringDiscoveryConfigurationOverride

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPackDiscoveryConfigurationOverride Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.