共用方式為


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 協助