NotificationClassName Element (ADF)
Specifies the user-defined name of the notification class.
語法
<NotificationClasses>
<NotificationClass>
<NotificationClassName>
Element Characteristics
Characteristic | Description |
---|---|
Data type |
string, between 1 and 64 characters in length. |
Default value |
None. |
Occurrence |
Required once per NotificationClass element. |
Updates |
Can be modified, but not added or deleted, when updating the application. |
Element Relationships
Relationship | Elements |
---|---|
Parent element |
|
Child elements |
None. |
備註
Notification Services uses the NotificationClassName value when creating tables and views. Therefore, the name of each notification class must conform to SQL Server identifier naming conventions. The name also must be unique within the application. For more information about SQL Server identifier naming conventions, see 識別碼.
If you update the NotificationClassName element, 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 SQL Server tables is permanently deleted.
範例
The following example shows how to specify a name for a notification class.
<NotificationClassName>StockNotifications</NotificationClassName>
請參閱
參考
Application Definition File Reference