Freigeben über


ApplicationDefinitionFilePath Element (ICF)

Contains the file name, and optionally the path to, the application definition file (ADF).

Syntax

<Applications>
    <Application>
        ...
        <ApplicationDefinitionFilePath>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 260 characters in length.

Default value

None.

Occurrence

Required once per Application element.

Updates

Can be modified, and then applied when updating the instance.

Element Relationships

Relationship Elements

Parent element

Application Element (ICF)

Child elements

None.

Hinweise

If the ADF file is in the folder specified by the BaseDirectoryPath value, use only the ADF name, such as StockADF.xml.

If the ADF file is not in the folder specified by BaseDirectoryPath, the ApplicationDefinitionFilePath value is a relative path from BaseDirectoryPath to the ADF, such as ..\..\Datafiles\StockADF.xml, or is a fully qualified path, such as D:\Datafiles\StockADF.xml or \\Server\Share\StockADF.xml.

We recommend placing all instance configuration files (ICFs) and application definition files (ADFs) in secure folders.

Beispiel

The following example shows how to provide an ADF file name when the file is located in the BaseDirectoryPath folder.

<ApplicationDefinitionFilePath>
StockADF.xml
</ApplicationDefinitionFilePath>

The following example shows how to specify a path relative to the BaseDirectoryPath folder.

<ApplicationDefinitionFilePath>
..\..\appDefinition\StockADF.xml
</ApplicationDefinitionFilePath>

The following example shows how to specify a fully qualified path that is not relative to the BaseDirectoryPath folder.

<ApplicationDefinitionFilePath>
D:\Datafiles\appDefinition\StockADF.xml
</ApplicationDefinitionFilePath>

Siehe auch

Verweis

Application Definition File Reference

Konzepte

Instance Configuration File Reference

Hilfe und Informationen

Informationsquellen für SQL Server 2005