Partager via


Parameters Element

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

<xs:element maxOccurs="unbounded" name="Parameters">
  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="1" name="Path" type="xs:string" />
      <xs:element minOccurs="1" name="Provider" type="xs:string" />
      <xs:element minOccurs="1" name="SetEventID" type="xs:string" />
      <xs:element minOccurs="0" name="ClearEventID" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
</xs:element>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

Path Element

Specifies the name of the event log where the event will be recorded.

Provider Element

Specifies the name of the provider that wrote the event to the event log.

SetEventID Element

Specifies the ID number of the event that triggers the alert.

ClearEventID Element

This is an optional element that specifies the ID number of the event that clears the alert. If this element is not defined, the alert will be cleared after 30 minutes. If this element is defined, the alert will not be automatically cleared after the timeout period, it will only be cleared if the specified event occurs.

Parent Elements

Element Description

AlertDefinition Element

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

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