Condividi tramite


SubscriptionClassName Element (ADF)

Specifies the user-defined name of the subscription class.

Sintassi

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

Osservazioni

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

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 Aggiornamento di un'applicazione.

Esempio

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

<SubscriptionClassName>FlightSubscriptions</SubscriptionClassName>

Vedere anche

Riferimento

Application Definition File Reference

Altre risorse

Definizione della classe Core Subscription
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005