Version Information
Version Added: Excel

Syntax

expression.SourceDataFile

expression A variable that represents an OLEDBConnection object.

Remarks

For file-based data sources (for example, Access) the SourceDataFile property contains a fully qualified path to the source data file. It is null for server-based data sources (for example, SQL Server). The SourceDataFile property is set to null if the property is changed programmatically.

See also: