Partilhar via


FileGroupName Element (ADF)

Specifies the user-defined name of the filegroup.

Syntax

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

Remarks

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

Example

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

<FileGroupName>PRIMARY</FileGroupName>

See Also

Reference

Application Definition File Reference

Other Resources

Defining the Application Database
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance