Partilhar via


History Element (ADF)

Contains elements that document the history of the application definition file (ADF).

Syntax

<Application>
    ...
    <History>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per Application element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Application Element (ADF)

Child elements

CreationDate Element (ADF)

CreationTime Element (ADF)

LastModifiedDate Element (ADF)

LastModifiedTime Element (ADF)

Remarks

Use the History section of the application definition file (ADF) to record the application history.

You can optionally specify a time zone for the date and time vales. If you do not specify a time zone, the default time zone is Greenwich Mean Time (GMT).

For more information about XML data types, see Primitive XML Data Types in the MSDN Library.

Example

The following example shows a History element that records the application's creation time as 10:30 GMT on 9/22/2001, and the application's last update time as 22:30 GMT on 10/25/2001.

<History>
    <CreationDate>2001-09-22</CreationDate>
    <CreationTime>10:30:00</CreationTime>
    <LastModifiedDate>2001-10-25</LastModifiedDate>
    <LastModifiedTime>22:30:00</LastModifiedTime>
</History>

See Also

Reference

Application Definition File Reference

Other Resources

Specifying Application Version and History
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance