Udostępnij za pośrednictwem


FileGroupName Element (ICF)

Contains the name of a filegroup for the instance database.

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

Element Relationships

Relationship Elements

Parent element

NamedFileGroup Element (ICF)

Child elements

None.

Remarks

When Notification Services creates the instance database, it creates the filegroups specified in the instance configuration file (ICF).

At least one filegroup must use the name Primary.

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

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

Example

This example shows how to specify that the filegroup is the Primary filegroup.

<FileGroupName>Primary</FileGroupName>

See Also

Reference

Application Definition File Reference

Concepts

Instance Configuration File Reference

Other Resources

CREATE DATABASE (Transact-SQL)
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance