Поделиться через


FileName Element for LogFile (ADF)

Specifies the file name and path of a log file used by the application database.

Синтаксис

<Database>
    ...
    <LogFile>
        ...
        <FileName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 260 characters in length.

Default value

None.

Occurrence

Required once per LogFile element.

Updates

Cannot be added, deleted, or modified when updating the application.

Element Relationships

Relationship Elements

Parent element

LogFile Element (ADF)

Child elements

None.

Замечания

Specify the full path and file name for the log file in the FileName element.

For more information, see os_file_name parameter in the CREATE DATABASE (Transact-SQL) topic.

Пример

The following example shows a populated FileName element.

<FileName>E:\Logs\StockLog.ldf</FileName>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Определение базы данных приложений
CREATE DATABASE (Transact-SQL)
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005