Table of Contents

Class OdbcOfficeDataSource

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a Microsoft Office (ODBC) data source.

public class OdbcOfficeDataSource : OdbcDataSourceBase, IComparable<OdbcDataSourceBase>
Inheritance
OdbcOfficeDataSource
Implements
Inherited Members

Constructors

OdbcOfficeDataSource()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.OdbcOfficeDataSource class.

public OdbcOfficeDataSource()

Properties

DataFile

Gets or sets the name of the data file for the connection, this may be an Access Database (.mdb) or Excel Spreadsheet.

public string DataFile { get; set; }

Property Value

string

DriverId

Gets or sets the internal driver identifier that selects which specified driver - for example the "Microsoft Access Driver (*.mdb, *.accdb)" within the office ODBC library should be used.

public int DriverId { get; set; }

Property Value

int

Exclusive

Gets or sets whether exclusive access should be provided to this ODBC connection.

public BooleanOption Exclusive { get; set; }

Property Value

BooleanOption

InternalDataType

Gets or sets the data internal type - for example "dBase 5.0".

public string InternalDataType { get; set; }

Property Value

string

Password

Gets or sets the password used for this connection in plain text. This field is optional.

public string Password { get; set; }

Property Value

string

PasswordDocumented

Gets or sets whether the password was documented for this connection.

public BooleanOption PasswordDocumented { get; set; }

Property Value

BooleanOption

ReadOnly

Gets or sets whether this ODBC connection is read-only.

public BooleanOption ReadOnly { get; set; }

Property Value

BooleanOption

Username

Gets or sets the username used for this connection.

public string Username { get; set; }

Property Value

string