OLEDBConnection.SourceDataFile Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets a String indicating the source data file for an OLE DB connection. Read/write.
public:
property System::String ^ SourceDataFile { System::String ^ get(); void set(System::String ^ value); };
public string SourceDataFile { get; set; }
Public Property SourceDataFile As String
Property Value
String
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 Connection property is changed programmatically.