FileGroupName Element (ICF)

Contains the name of a filegroup for the instance database.

语法

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

备注

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

示例

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

<FileGroupName>Primary</FileGroupName>

请参阅

参考

Application Definition File Reference

概念

Instance Configuration File Reference

其他资源

CREATE DATABASE (Transact-SQL)
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助