Поделиться через


EventClassName Element for EventClass (ADF)

Specifies the user-defined name of the event class.

Синтаксис

<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.

Замечания

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 Идентификаторы.

ms146588.note(ru-ru,SQL.90).gifВажно!
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.

Пример

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

<EventClassName>HockeyScores</EventClassName>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Определение свойств основного класса событий
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005