共用方式為


ApplicationName Element (ICF)

Is the logical name of the application, which must be unique within the instance configuration file (ICF). This is the only place where a name is given to the application.

語法

<Applications>
    <Application>
        <ApplicationName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 64 characters in length.

Default value

None.

Occurrence

Required once per Application element.

Updates

Can be modified when updating the instance.

Element Relationships

Relationship Elements

Parent element

Application Element (ICF)

Child elements

None.

備註

The ApplicationName value must be unique within the instance of Notification Services. Application names are not case-senstive. For example, Notification Services does not distinguish between "News" and "news".

Because this value is used to create database objects, follow the Microsoft SQL Server rules for regular identifiers. Do not use SQL Server reserved keywords or special characters. For more information, see 識別碼.

If you update the ApplicationName value, SQL Server 2005 Notification Services (Notification Services) disassociates the existing application from the instance and creates a new application with the new name. Notification Services does not delete the old application database from SQL Server nor does it transfer any data from the old application database to the new application database. After you update the application, you can transfer data from the old database and then manually delete the old database.

範例

This example shows how to specify an application name of Stock1.

<ApplicationName>Stock1</ApplicationName>

請參閱

參考

Application Definition File Reference

概念

Instance Configuration File Reference

說明及資訊

取得 SQL Server 2005 協助