InstanceName Element (ICF)

Specifies the logical name for the instance of Notification Services.

语法

<NotificationServicesInstance>
    ...
    <InstanceName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 64 characters in length.

Default value

None.

Occurrence

Required once per NotificationServicesInstance element.

Updates

Cannot be modified when updating the instance.

Element Relationships

Relationship Elements

Parent element

NotificationServicesInstance Element (ICF)

Child elements

None.

备注

Each instance of Notification Services on a computer must have a unique name, which is not case-sensitive. For example, MyInstance and myinstance are not considered unique names. The commands used to create and register instances are not case-sensitive.

Because this name is used for database objects, follow the Microsoft SQL Server rules for regular identifiers. Do not use SQL Server reserved keywords or special characters, such as /, \, [, ], ", and '. For more information about SQL Server identifiers, see 标识符.

示例

This example shows how to specify an instance name of StockInstance.

<InstanceName>StockInstance</InstanceName>

请参阅

参考

Application Definition File Reference

概念

Instance Configuration File Reference

其他资源

更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助