Condividi tramite


ManagementPackDiagnosticPropertyOverride Class

Defines an override a for a diagnostic property. The override is defined in a Management Pack and allows you to change the default value of the property. The property 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 ManagementPackDiagnosticPropertyOverride

Syntax

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

Example

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

For an example of creating an override for a diagnostic, see How to Create an Override for a Diagnostic.

Remarks

Only the Enabled property can be overridden for diagnostics.

Inheritance Hierarchy

System.Object
   Microsoft.EnterpriseManagement.Configuration.ManagementPackItem
     Microsoft.EnterpriseManagement.Configuration.ManagementPackElement
       Microsoft.EnterpriseManagement.Configuration.ManagementPackOverride
         Microsoft.EnterpriseManagement.Configuration.ManagementPackDiagnosticOverride
          Microsoft.EnterpriseManagement.Configuration.ManagementPackDiagnosticPropertyOverride
             Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnosticPropertyOverride

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

ManagementPackDiagnosticPropertyOverride Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.