次の方法で共有


ManagementPackDiagnosticOverride Class

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.

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

Usage

'Usage
Dim instance As ManagementPackDiagnosticOverride

Syntax

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

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

Overrides are used to change the default values for properties and parameters of diagnostic objects in Operations Manager.

Inheritance Hierarchy

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

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

ManagementPackDiagnosticOverride Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.