AlertDefinition Element

Identifies a unique event source from an installed driver or application.

<xs:element maxOccurs="unbounded" name="AlertDefinition">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Parameters">...</xs:element>
    </xs:sequence>
    <xs:attribute name="ID" type="xs:string" use="required" />
    <xs:attribute name="Default" type="xs:string" use="required" />
    <xs:attribute name="Title" type="xs:string" use="required" />
    <xs:attribute name="Source" type="xs:string" use="required" />
  </xs:complexType>
</xs:element>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

ID

Required string attribute.

Specifies a unique GUID that identifies an alert definition.

Default

Required string attribute.

Specifies whether the custom alert is enabled or disabled. The value is set to “1” to enable the alert and it is set to “0” to disable the alert.

Title

Required string attribute.

A string of text to be displayed as a title for the alert in the Notification Settings dialog box.

Source

Required string attribute.

A text string that represents the name of the application or module that generated the alert.

Child Elements

Element Description

Parameters Element

Provides the data to identify an event that is listed in a Windows® Small Business Server 2008 report.

Parent Elements

Element Description

AlertDefinitions Element

Defines the custom alerts that will be displayed in the Windows SBS Console, under Other Alerts, in Monitoring Reports.

Remarks

The XML file that uses this element is not validated against an .xsd file, it is used by internal classes to add custom alert data to the Windows SBS Console.

See Also

Concepts

Custom Alert XML Schema Reference
Walkthrough: Creating a Custom Alert