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


FieldName Element for EventClass/Schema/Field (ADF)

Specifies the user-defined name of an event field.

Синтаксис

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

Element Characteristics

Characteristic Description

Data type

string, between 1 and 128 characters in length.

Default value

None.

Occurrence

Required once per Field element.

Updates

Can be modified, but not added or deleted, when you update the application.

Element Relationships

Relationship Elements

Parent element

Field Element for EventClass/Schema (ADF)

Child elements

None.

Замечания

Field names can contain letters, numbers, and the special characters _, #, @, and $. They must conform to SQL Server identifier conventions. For more information about SQL Server identifiers, see Идентификаторы.

ms145871.note(ru-ru,SQL.90).gifВажно!
You cannot name an event field EventBatchID or EventID. Notification Services already uses these field names internally.
ms145871.note(ru-ru,SQL.90).gifВажно!
  If you update a FieldName 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 event class tables is permanently deleted.

Пример

The following example shows how to specify that the field name is StockSymbol.

<FieldName>StockSymbol</FieldName>

См. также

Справочник

Application Definition File Reference

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

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

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

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