Поделиться через


Duration Element (ADF)

Specifies how long the data removal process will continue to run after it has been started.

Синтаксис

<ApplicationExecutionSettings>
    ...
    <Vacuum>
        ...
        <VacuumSchedule>
            <Schedule>
                ...
                <Duration>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

Six hours or until the start of the next vacuuming interval, whichever comes first.

Occurrence

Optional once per /ApplicationExecutionSettings/Vacuum/VacuumSchedule/Schedule element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

Schedule Element for VacuumSchedule (ADF)

Child elements

None.

Замечания

The Duration element specifies the length of the vacuuming period. The Duration value cannot exceed 24 hours.

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

The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the Microsoft MSDN® Library.

Пример

The following example shows a populated Duration element. It specifies that the data removal process will run for one hour once it has started.

<Duration>P0DT01H00M00S</Duration>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Настройка удаления данных
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005