共用方式為


ChronicleName Element for EventClass/Chronicles/Chronicle (ADF)

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

語法

<EventClasses>
    <EventClass>
        ...
        <Chronicles>
            <Chronicle>
                <ChronicleName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 255 characters in length.

Default value

None.

Occurrence

Required once within a Chronicle element.

Updates

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

Element Relationships

Relationship Elements

Parent element

Chronicle Element for EventClass/Chronicles (ADF)

Child elements

None.

備註

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

ms146607.note(zh-tw,SQL.90).gif重要事項:
If you update a ChronicleName element, updating the application deletes and re-creates the event class to which it corresponds. This includes dropping and re-creating the SQL Server tables and indexes used by this event class. Make sure to back up your application database before updating the application.

範例

The following example shows a populated ChronicleName element.

<ChronicleName>StockEventChron</ChronicleName>

請參閱

參考

Application Definition File Reference

其他資源

定義事件紀事輯資料表
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助