Поделиться через


SubscriptionClassName Element (ADF)

Specifies the user-defined name of the subscription class.

Синтаксис

<SubscriptionClasses>
    <SubscriptionClass>
        <SubscriptionClassName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 64 characters in length.

Default value

None.

Occurrence

Required once per SubscriptionClass element.

Updates

Can be modified, but not added or deleted, when updating the application.

Element Relationships

Relationship Elements

Parent element

SubscriptionClass Element (ADF)

Child elements

None.

Замечания

Subscription class names must conform to SQL Server identifier naming conventions and must be unique within the application. For more information about SQL Server identifier naming conventions, see Идентификаторы.

If you update the SubscriptionClassName element, updating the application re-creates the subscription class to which it corresponds. Notification Services renames the existing subscription tables by appending Old to the table name and then creates new tables. Existing subscription table indexes are left unchanged.

If you want to transfer data between the old and new subscription tables, it must be done manually. For more information, see Обновление приложения.

Пример

The following example shows how to specify the subscription class name.

<SubscriptionClassName>FlightSubscriptions</SubscriptionClassName>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Определение основного класса подписки
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005