共用方式為


FileGroupName Element (ADF)

Specifies the user-defined name of the filegroup.

語法

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

備註

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

範例

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

<FileGroupName>PRIMARY</FileGroupName>

請參閱

參考

Application Definition File Reference

其他資源

定義應用程式資料庫
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助