Version Element (ICF)

Contains the version number of the instance configuration file (ICF).

语法

<NotificationServicesInstance>
    ...
    <Version>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per NotificationServicesInstance element.

Updates

Can be added or deleted, and then applied when updating the instance.

Element Relationships

Relationship Elements

Parent element

NotificationServicesInstance Element (ICF)

Child elements

Major Element (ICF)

Minor Element (ICF)

Build Element (ICF)

Revision Element (ICF)

备注

Use the Version element if you want to specify which version of Microsoft SQL Server Notification Services the ICF conforms to or to track the ICF version using your own version numbers.

When you first create the database, if you do not specify a version number, Notification Services enters version 0.0.0.0 in the instance database. For subsequent updates, Notification Services uses the most recent version number, which it obtains from the database.

When you update the instance, Notification Services always enters the version number into the database regardless of any other changes in the ICF or application definition file (ADF).

示例

This example shows a complete version element for ICF version 2.0.1.1.

<Version>
    <Major>2</Major>
    <Minor>0</Minor>
    <Build>1</Build>
    <Revision>1</Revision>
</Version>

请参阅

参考

Application Definition File Reference

概念

Instance Configuration File Reference

其他资源

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

帮助和信息

获取 SQL Server 2005 帮助