Major Element (ADF)

Specifies the major component of the application version number.

语法

<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.

备注

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.

示例

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

<Major>2</Major>

请参阅

参考

Application Definition File Reference

其他资源

指定应用程序版本和历史记录
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助