LogicalName Element for FileSpec (ADF)
Specifies the logical name of an application database data file.
語法
<Database>
<NamedFileGroup>
...
<FileSpec>
<LogicalName>
Element Characteristics
Characteristic | Description |
---|---|
Data type |
string, between 1 and 260 characters in length. |
Default value |
None. |
Occurrence |
Required once per FileSpec element. |
Updates |
Cannot be added, deleted, or modified when updating the application. |
Element Relationships
Relationship | Elements |
---|---|
Parent element |
|
Child elements |
None. |
備註
You must specify the logical name of the application database data file in the LogicalName element. The logical name is used to refer to the file when managing the data file.
範例
The following example shows how to name an application database data file.
<LogicalName>NSData</LogicalName>
請參閱
參考
Application Definition File Reference
其他資源
定義應用程式資料庫
CREATE DATABASE (Transact-SQL)
更新執行個體及應用程式