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


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