Share via


SchemaType (ViewType)

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

Contains references to internal or external complex schema types.

Schema Hierarchy

ManagementPack
  PresentationTypes
    ViewTypes
      ViewType
        Configuration (ViewType)
          IncludeSchemaTypes (ViewType)
            SchemaType (ViewType)

Syntax

<SchemaType>SchemaName</SchemaType>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the SchemaType element.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description

IncludeSchemaTypes (ViewType)

Contains references to internal or external complex schema types.

Text Value

Contains a reference to a SchemaType ID that is defined internally or an externally in a management pack. If defined externally, the external management pack must be referenced in the References (Manifest) section of your management pack.

For information about how to define a SchemaType element in a management pack, see SchemaType.

For more information about how to reference an external management pack by using the Alias!ElementID notation, see Reference (Manifest).

Important

Currently, it is not possible to define your own view types. However, you can add an implementation of an already defined view type by defining a View element.

Example

The following XML sample illustrates how to reference a schema called Microsoft.SystemCenter.ViewPresentationSchema in the Configuration (Template) section of a module type definition. The Microsoft.SystemCenter.ViewPresentationSchema schema defines the structure of the ColumnInfoType data type.

  
<Configuration>
  <IncludeSchemaTypes>
    <SchemaType>Microsoft.SystemCenter.ViewCriteriaSchema</SchemaType>
    <SchemaType>Microsoft.SystemCenter.ViewPresentationSchema</SchemaType>
  </IncludeSchemaTypes>
  <xsd:element name="Presentation" minOccurs="0">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="ColumnInfo" type="ColumnInfoType" minOccurs="0" maxOccurs="unbounded" />
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="Target" type="xsd:string" minOccurs="0" maxOccurs="1" />
</Configuration>

See Also

Reference

IncludeSchemaTypes (Template)
SchemaType
SchemaTypes