[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Contains references to internal or external complex schema types.

Schema Hierarchy

ManagementPack
  TypeDefinitions
    ModuleTypes
      WriteActionModuleType
        Configuration (WriteActionModuleType)
          IncludeSchemaTypes (WriteActionModuleType)
            SchemaType

Syntax

Xml
<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 (WriteActionModuleType)

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

Example

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

  Copy Code
<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>

See Also

Reference

Reference (Manifest)
References (Manifest)
SchemaType
SchemaTypes

Other Resources

IncludeSchemaTypes