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.

Remarks

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.

Example

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>

See Also

Reference

Application Definition File Reference

Concepts

Instance Configuration File Reference

Help and Information

Getting SQL Server 2005 Assistance