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


Field Element for EventClass/Schema (ADF)

Provides a location for defining one event class field.

Синтаксис

<EventClasses>
    <EventClass>
        ...
        <Schema>
            <Field>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required once or more per Schema element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Schema Element for EventClass (ADF)

Child elements

FieldName Element for EventClass/Schema/Field (ADF)

FieldType Element for EventClass/Schema/Field (ADF)

FieldTypeMods Element for EventClass/Schema/Field (ADF)

Замечания

The Field element contains the field name, field type, and field type modifiers used when creating the event class table in the database.

ms145400.note(ru-ru,SQL.90).gifВажно!
If you add or delete fields, updating the application deletes and re-creates the event class. This includes dropping and re-creating the SQL Server tables and indexes used by this event class. Any data existing in the original event class tables is permanently deleted.

Пример

The following example shows the definition of a StockSymbol event field.

<Field>
    <FieldName>StockSymbol</FieldName>
    <FieldType>char(10)</FieldType>
    <FieldTypeMods>NOT NULL</FieldTypeMods>
</Field>

См. также

Справочник

Application Definition File Reference

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

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

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

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