Share via


SchemaType (ConditionDetectionModuleType)

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.

Schema Hierarchy

ManagementPack
  TypeDefinitions
    ModuleTypes
      ConditionDetectionModuleType
        ModuleImplementation (ConditionDetectionModuleType)
          Configuration (ConditionDetectionModuleType)
            IncludeSchemaTypes (ConditionDetectionModuleType)
              SchemaType

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

See Also

Reference

IncludeSchemaTypes (ConditionDetectionModuleType)
Reference (Manifest)
References (Manifest)
SchemaType
SchemaTypes