共用方式為


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