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 |
|
Child elements |
FieldName Element for NotificationClass/Schema/Fields/Field (ADF) FieldType Element for NotificationClass/Schema/Fields/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