Share via


EventClassName Element for EventClass (ADF)

Specifies the user-defined name of the event class.

Syntax

<EventClasses>
    <EventClass>
        <EventClassName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 64 characters in length.

Default value

None.

Occurrence

Required once per EventClass element.

Updates

You can modify this element, but cannot add or delete it when you update the application.

Element Relationships

Relationship Elements

Parent element

EventClass Element (ADF)

Child elements

None.

Remarks

The name of an event class must conform to SQL Server identifier naming conventions. It also must be unique within the application. For more information about SQL Server identifier naming conventions, see Identifiers.

Important

If you add, delete, or update the EventClassName element, updating the application deletes and re-creates the event class to which it corresponds. This includes dropping and re-creating the SQL Server tables and indexes used by this event class. Any data existing in the original SQL Server tables is permanently deleted.

Example

The following example shows an EventClassName element that specifies an event class name of HockeyScores.

<EventClassName>HockeyScores</EventClassName>

See Also

Reference

Application Definition File Reference

Other Resources

Defining Core Event Class Properties
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance