[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
      ConditionDetectionModuleType
        ModuleImplementation (ConditionDetectionModuleType)
          Configuration (ConditionDetectionModuleType)
            IncludeSchemaTypes (ConditionDetectionModuleType)
              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 (ConditionDetectionModuleType)

Contains references to internal or external complex schema types.

Text Value

Contains a reference to a SchemaType ID that is defined internally or 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.

Example

The following sample illustrates how to reference a schema called Microsoft.Windows.WindowsEventLogEventTypeSchema in the Configuration 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