<FieldName> Element (/EventClass/Schema/Field)
SQL Server 2000
Specifies the user-defined name of the event field.
Structure
<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> node. |
| Updates | You can modify this element, but cannot add or delete it. Use NSControl Update to apply any modification. |
Element Relationships
| Relationship | Elements |
|---|---|
| Parent Node | <Field> Node (/EventClass/Schema) |
Remarks
Field names must conform to SQL Server identifier naming conventions. For more information about SQL Server identifier naming conventions, see "Using Identifiers" in SQL Server Books Online.
Important You cannot name an event field EventBatchID or EventID. Notification Services already uses these two field names internally.
If you update a <FieldName> element, NSControl Update 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.
Important If you update a <FieldName> element, any data existing in the original SQL Server tables is permanently deleted.