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