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


RetentionAge Element (ADF)

Specifies the minimum age at which event and notification data is considered to be obsolete and available for removal.

Синтаксис

<ApplicationExecutionSettings>
    ...
    <Vacuum>
        <RetentionAge>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

P7DT00H00M00S (seven days).

Occurrence

Optional once per Vacuum element.

Updates

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

Element Relationships

Relationship Elements

Parent element

Vacuum Element (ADF)

Child elements

None.

Замечания

Data is retained for the period specified by the RetentionAge element, although it is not necessarily removed immediately upon expiration of the specified period. When the data removal process runs, it attempts to delete event and notification data that is older than the retention age.

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 how to set a retention age of 2 days.

<RetentionAge>P2DT00H00M00S</RetentionAge>

См. также

Справочник

Application Definition File Reference

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

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

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

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