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 協助