Partilhar via


InstanceName Element (ICF)

Specifies the logical name for the instance of Notification Services.

Syntax

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

Remarks

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

Example

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

<InstanceName>StockInstance</InstanceName>

See Also

Reference

Application Definition File Reference

Concepts

Instance Configuration File Reference

Other Resources

Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance