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


FileGroup Element for EventClass (ADF)

Specifies the application database filegroup on which the event table will be created.

Синтаксис

<EventClasses>
    <EventClass>
        ...
        <FileGroup>

Element Characteristics

Characteristic Description

Data type

string, between 0 and 128 characters in length.

Default value

The /Database/DefaultFileGroup value (if specified) or the application database's primary filegroup.

Occurrence

Optional once per EventClass element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

EventClass Element (ADF)

Child elements

None.

Замечания

If specified, the FileGroup value must match one of the Database element's NamedFileGroup values.

ms145406.note(ru-ru,SQL.90).gifВажно!
If you update a FileGroup 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 how to have Notification Services place the event class tables in the Events filegroup.

<FileGroup>Events</FileGroup>

См. также

Справочник

Application Definition File Reference

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

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

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

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