Partager via


LogicalName Element for LogFile (ADF)

Specifies the logical name of an application database log file.

Syntaxe

<Database>
    ...
    <LogFile>
        <LogicalName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 128 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.

Notes

You must specify the logical name of the application database log file in the LogicalName element. The logical name is used to refer to log file during any management tasks that use the log.

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

Exemple

The following example shows how to name an application database log file.

<LogicalName>StockLog</LogicalName>

Voir aussi

Référence

Application Definition File Reference

Autres ressources

Définition de la base de données d'application
CREATE DATABASE (Transact-SQL)
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005