Field Element for Schema/Fields (ADF)

Provides a location for defining one notification class field.

语法

<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)

备注

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.

示例

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

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

请参阅

参考

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

其他资源

定义通知架构
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助