SchemaType (DataSourceModuleType)

System Center

Updated: May 18, 2012

Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager

Contains references to internal or external complex schema types.


<SchemaType>SchemaName</SchemaType>

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 (DataSourceModuleType)

Contains references to internal or external complex schema types.

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 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).

The following sample illustrates how to reference a schema called Microsoft.Windows.WindowsEventLogEventTypeSchema in the Configuration (DataSourceModuleType) section of a module type definition. The Microsoft.Windows.WindowsEventLogEventTypeSchema schema defines the structure of the WindowsEventLogEventType data type.


<Configuration>
  <IncludeSchemaTypes>
    <SchemaType>Windows!Microsoft.Windows.WindowsEventLogEventTypeSchema</SchemaType>
  </IncludeSchemaTypes>
  <xsd:element name="EventId" type="xsd:integer" />
  <xsd:element name="EventType" type="WindowsEventLogEventType" />
  <xsd:element name="RestartReason" type="xsd:string" />
  <xsd:element name="RestartAttempts" type="xsd:integer" />
  <xsd:element name="Timeout" type="xsd:integer" />
</Configuration>

 
Show: