Edit

Share via


ODBCConnection.SourceDataFile Property

Definition

Returns or sets a String indicating the source data file for an ODBC 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.

Applies to