Compartilhar via


Field Element for Schema/Fields (ADF)

Provides a location for defining one notification class field.

Syntax

<NotificationClasses>
    <NotificationClass>
        ...
        <Schema>
            <Fields>
                <Field>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required once or more per Fields element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Fields Element for Schema (ADF)

Child elements

FieldName Element for NotificationClass/Schema/Fields/Field (ADF)

FieldType Element for NotificationClass/Schema/Fields/Field (ADF)

DigestGrouping Element for Field (ADF)

Remarks

If you add or delete a Field, updating the application deletes and re-creates the notification class to which it corresponds. This includes dropping and re-creating the SQL Server tables used by this notification class. Any data existing in the original notification class tables is permanently deleted.

Example

The following example shows the definition of a StockPrice notification field.

<Field>
    <FieldName>StockPrice</FieldName>
    <FieldType>money</FieldType>
</Field>

See Also

Reference

FieldType Element for NotificationClass/Schema/Fields/Field (ADF)
Application Definition File Reference

Other Resources

Defining the Notification Schema
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance