Partager via


Version Element (ICF)

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

Syntaxe

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

Notes

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

Exemple

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>

Voir aussi

Référence

Application Definition File Reference

Concepts

Instance Configuration File Reference

Autres ressources

Spécification de la version et de l'historique d'une instance
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005