SubscriptionClassName Element (ADF)

Specifies the user-defined name of the subscription class.

语法

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

备注

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 标识符.

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 更新应用程序.

示例

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

<SubscriptionClassName>FlightSubscriptions</SubscriptionClassName>

请参阅

参考

Application Definition File Reference

其他资源

定义核心订阅类
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助