ChronicleName Element for SubscriptionClass/Chronicles/Chronicle (ADF)

Specifies the user-defined name of the subscription chronicle table.

语法

<SubscriptionClasses>
    <SubscriptionClass>
        ...
        <Chronicles>
            <Chronicle>
                <ChronicleName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 255 characters in length.

Default value

None.

Occurrence

Required once per Chronicle element.

Updates

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

Element Relationships

Relationship Elements

Parent element

Chronicle Element for SubscriptionClass/Chronicles (ADF)

Child elements

None.

备注

The ChronicleName value should be the same as the chronicle table name as defined in the related SqlSchema element.

ms145364.note(zh-cn,SQL.90).gif重要提示:
If you update the ChronicleName value, updating the application re-creates the subscription class to which it corresponds. SQL Server 2005 Notification Services renames existing subscription tables by appending "Old" to the name and then creates new subscription tables. Existing subscription table indexes remain 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 a populated ChronicleName element.

<ChronicleName>StockSubscriptionChron</ChronicleName>

请参阅

参考

Application Definition File Reference

其他资源

为订阅类定义历史记录
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助