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

NotificationClass Element (ADF)

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

其他资源

定义核心通知类
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助