共用方式為


VacuumSchedule Element (ADF)

Contains elements that define the vacuuming (data removal) schedule.

語法

<ApplicationExecutionSettings>
    ...
    <Vacuum>
        ...
        <VacuumSchedule>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per Vacuum element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Vacuum Element (ADF)

Child elements

Schedule Element for VacuumSchedule (ADF)

備註

Vacuuming removes older event and notification data from the application database. For more information about the vacuuming process, see 設定資料移除.

The vacuuming process runs daily at the specified time(s) for the specified duration.

Vacuuming schedules cannot overlap. If schedules overlap, Notification Services stops the earlier vacuuming process before the later one starts.

範例

The following example shows a populated VacuumSchedule element that specifies that vacuuming runs from 1:00 A.M. to 4:00 A.M. (UTC) every day.

<VacuumSchedule>
    <Schedule>
        <StartTime>01:00:00</StartTime>
        <Duration>P0DT03H00M00S</Duration>
    </Schedule>
</VacuumSchedule>

請參閱

參考

Application Definition File Reference

其他資源

設定資料移除
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助