Udostępnij za pośrednictwem


SubscriptionClassName Element (ADF)

Specifies the user-defined name of the subscription class.

Syntax

<SubscriptionClasses>
    <SubscriptionClass>
        <SubscriptionClassName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 64 characters in length.

Default value

None.

Occurrence

Required once per SubscriptionClass element.

Updates

Can be modified, but not added or deleted, when updating the application.

Element Relationships

Relationship Elements

Parent element

SubscriptionClass Element (ADF)

Child elements

None.

Remarks

Subscription class names must conform to SQL Server identifier naming conventions and must be unique within the application. For more information about SQL Server identifier naming conventions, see Identifiers.

If you update the SubscriptionClassName element, updating the application re-creates the subscription class to which it corresponds. Notification Services renames the existing subscription tables by appending Old to the table name and then creates new tables. Existing subscription table indexes are left unchanged.

If you want to transfer data between the old and new subscription tables, it must be done manually. For more information, see Updating an Application.

Example

The following example shows how to specify the subscription class name.

<SubscriptionClassName>FlightSubscriptions</SubscriptionClassName>

See Also

Reference

Application Definition File Reference

Other Resources

Defining the Core Subscription Class
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance