Udostępnij za pośrednictwem


Major Element (ADF)

Specifies the major component of the application version number.

Syntax

<Version>
    <Major>

Element Characteristics

Characteristic Description

Data type

Non-negative integer.

Default value

None.

Occurrence

Required once per Version element.

Updates

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

Element Relationships

Relationship Elements

Parent element

Version Element (ADF)

Child elements

None.

Remarks

The Major element specifies the major version number in the four-part version number. Four-part version numbers use the format Major.Minor.Build.Revision, such as 2.3.9.7. If you specify the version number, all four parts are required.

Example

The following example shows how to specify a major version number of 2.

<Major>2</Major>

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