Condividi tramite


FileGroupName Element (ADF)

Specifies the user-defined name of the filegroup.

Sintassi

<Database>
    <NamedFileGroup>
        <FileGroupName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 128 characters in length.

Default value

None.

Occurrence

Required once per NamedFileGroup element.

Updates

Cannot be added, deleted, or modified when updating the application.

Element Relationships

Relationship Elements

Parent element

NamedFileGroup Element (ADF)

Child elements

None.

Osservazioni

When Notification Services creates an application database, it creates the filegroups specified in the application definition file (ADF).

At least one filegroup must use the name PRIMARY.

If you need to alter the database after creating the application, use the Microsoft SQL Server tools, such as SQL Server Management Studio.

For more information about filegroup names, see the FILEGROUP filegroup_name description in CREATE DATABASE (Transact-SQL).

Esempio

The following example shows how to specify that the filegroup you are defining is the application database's Primary filegroup.

<FileGroupName>PRIMARY</FileGroupName>

Vedere anche

Riferimento

Application Definition File Reference

Altre risorse

Definizione del database dell'applicazione
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005