共用方式為


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 協助