ExcelConnection Constructor | Initializes a new instance of the ExcelConnection class. |
ConnectionString | Overridden. Gets or sets the string used to open Microsoft® Excel Workbook file. |
ConnectionTimeout | Overridden. Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. |
Database | Overridden. Gets the name of the current Microsoft® Excel Workbook file or the Microsoft® Excel Workbook file to be used after a connection is opened. |
DataSource | Overridden. Gets the name of the current Microsoft® Excel Workbook file or the Microsoft® Excel Workbook file to be used after a connection is opened. |
ServerVersion | Overridden. This property always returns blank string value. |
State | Overridden. Gets the current state of the connection. |
ChangeDatabase | This method is not supported. |
Close | Overridden. Closes the connection to the Microsoft® Excel Workbook file. This is the preferred method of closing any open connection. |
CreateCommand | Creates and returns an ExcelCommand object associated with the ExcelConnection. |
Dispose (inherited from Component) | Overloaded. Releases the resources used by the Component. |
GetExcelSchemaTable | Returns schema information from Microsoft® Excel source as indicated by ExcelClientSchemaType value. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Open | Overridden. Opens connection with the property settings specified by the ConnectionString. |