Compartir a través de


Manifest

Applies To: Operations Manager 2007 R2, System Center Operations Manager 2007

Contains the identity, name, and dependency references of the management pack.

Schema Hierarchy

ManagementPack
  Manifest

Syntax

<Manifest>
   <Identity>…</Identity>
   <Name>Management Pack Name</Name>
   <References>…</References></Manifest>

Attributes and Elements

The following sections describe the child elements and parent element of the Manifest element.

Attributes

None.

Child Elements

Element Description

Identity (Manifest)

Required element. Contains the ID (Reference) and Version (Reference) of the management pack.

Name (Manifest)

Required element. Contains the name of the management pack.

References (Manifest)

Required element. Contains dependency references to external management packs. Each dependency reference is represented by a Reference (Manifest) element.

Parent Elements

Element Description

ManagementPack

Represents the root element of a management pack.

Text Value

The Manifest element is the only required child element of the root ManagementPack element. It contains the required identifiers for the management pack, such as ID, version, and name, as well as all dependency references utilized within the management pack. The value of the Name element is not actually displayed in the console. To specify a display name for the management pack, you must define it in the display string section of the management pack. For more information, see DisplayStrings.

Example

The following XML sample shows the Manifest element in the Microsoft.Windows.Library management pack. The Manifest element references three external management pack libraries. Each one defines an alias by which the Microsoft.Windows.Library management pack can reference the library and any of its public elements.

<Manifest>
  <Identity>
    <ID>Microsoft.Windows.Library</ID>
    <Version>6.1.7221.0</Version>
  </Identity>
  <Name>Microsoft Windows Library</Name>
  <References>
    <Reference Alias="Health">
      <ID>System.Health.Library</ID>
      <Version>6.1.7221.0</Version>
      <PublicKeyToken>9396306c2be7fcc4</PublicKeyToken>
    </Reference>
    <Reference Alias="System">
      <ID>System.Library</ID>
      <Version>6.1.7221.0</Version>
      <PublicKeyToken>9396306c2be7fcc4</PublicKeyToken>
    </Reference>
    <Reference Alias="Performance">
      <ID>System.Performance.Library</ID>
      <Version>6.1.7221.0</Version>
      <PublicKeyToken>9396306c2be7fcc4</PublicKeyToken>
    </Reference>
  </References>
</Manifest>

The following XML sample illustrates how to reference an element that is defined in an external management pack. In this case, a ClassType element is defined to have a base class, System.ComputerRole. The class System.ComputerRole is defined in the System.Library external management pack. The syntax for referencing external types is always AliasName!ElementName.

<ClassType ID="Microsft.SampleClass" Accessibility="Public" Abstract="false" Base="System!System.ComputerRole" Hosted="false" Singleton="false">
    <Property ID="NodeName" Type="string" Key="true" CaseSensitive="false" Length="256" MinLength="0" />
</ClassType>

See Also

Reference

Identity (Manifest)
ManagementPack
Name (Manifest)
References (Manifest)