Manifest
Applies To: System Center Service Manager 2010
Contains the identity, name, and dependency references of the management pack.
Schema Hierarchy
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 |
---|---|
Required element. Contains the ID (Reference) and Version (Reference) of the management pack. |
|
Required element. Contains the name of the management pack. |
|
Required element. Contains dependency references to external management packs. Each dependency reference is represented by a Reference (Manifest) element. |
Parent Elements
Element | Description |
---|---|
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.Sample.Library</ID>
<Version>1.1.1000.0</Version>
</Identity>
<Name> Microsoft.Sample.Library </Name>
<References>
<Reference Alias="System">
<ID>System.Library</ID>
<Version>6.1.7221.0</Version>
<PublicKeyToken>9396306c2be7fcc4</PublicKeyToken>
</Reference>
<Reference Alias="SCLibrary">
<ID>Microsoft.SystemCenter.Library</ID>
<Version>6.1.7221.0</Version>
<PublicKeyToken>9396306c2be7fcc4</PublicKeyToken>
</Reference>
<Reference Alias="Windows">
<ID>Microsoft.Windows.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="Microsoft.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)