Gets the server name or file name of the data source.
Syntax
[System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] public override stringDataSource { get; }
Value
Documentation for this section has not yet been entered.
Remarks
Retrieving the OdbcConnection.DataSource property is equivalent to calling the ODBC function SQLGetInfo with the InfoType parameter set to SQL_SERVER_NAME.
Requirements
Namespace: System.Data.Odbc Assembly: System.Data (in System.Data.dll) Assembly Versions: 1.0.5000.0, 2.0.0.0