Share via


FileGroup Element for SubscriptionClass (ADF)

Specifies the Microsoft SQL Server filegroup on which the subscription class tables will be created.

Sintassi

<SubscriptionClasses>
    <SubscriptionClass>
        ...
        <FileGroup>

Element Characteristics

Characteristic Description

Data type

string, between 0 and 128 characters in length.

Default value

The /Database/DefaultFileGroup value (if specified) or the application database's primary filegroup.

Occurrence

Optional once per SubscriptionClass element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

SubscriptionClass Element (ADF)

Child elements

None.

Osservazioni

If specified, the FileGroup value must match one of the NamedFileGroup values from the application definition file (ADF) Database element.

If you update a FileGroup element, updating the application re-creates the subscription class to which it corresponds. Notification Services renames the existing tables for the subscription class by appending Old to the table names. 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 have Notification Services place the subscription class tables in the Secondary filegroup.

<FileGroup>Secondary</FileGroup>

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