Contains references to internal or external complex schema types.
Schema
Hierarchy
TypeDefinitions
ModuleTypes
DataSourceModuleType
Configuration (DataSourceModuleType)
IncludeSchemaTypes (DataSourceModuleType)
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 |
---|---|
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 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
(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> |
See Also
Reference
Reference (Manifest)References (Manifest)
SchemaType
SchemaTypes