Udostępnij za pośrednictwem


NotificationClassName Element (ADF)

Specifies the user-defined name of the notification class.

Syntax

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

Remarks

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 Identifiers.

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.

Example

The following example shows how to specify a name for a notification class.

<NotificationClassName>StockNotifications</NotificationClassName>

See Also

Reference

Application Definition File Reference

Other Resources

Defining the Core Notification Class
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance