EventClasses Element (ADF)

Contains elements that define one or more event classes used by this application.

Синтаксис

<Application>
    ...
    <EventClasses>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per Application element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Application Element (ADF)

Child elements

EventClass Element (ADF)

Замечания

An application is not required to have event classes. The Transact-SQL queries that generate notifications can obtain data from other sources.

ms145192.note(ru-ru,SQL.90).gifВажно!
If you delete the EventClasses group of elements, updating the application deletes the event classes, including all related SQL Server tables and indexes. Any data existing in the original event class tables is permanently deleted.

Пример

The following example shows an EventClasses element that has placeholders for two event classes. For an example of an event class, see EventClass Element (ADF).

<EventClasses>
    <EventClass>
    <!-- Define first event class here -->
    </EventClass>
    <EventClass>
    <!-- Define second event class here -->
    </EventClass>
</EventClasses>

См. также

Справочник

Application Definition File Reference

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

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

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

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