ExcelConnection Class Library  

ExcelConnection Members

ExcelConnection overview

Public Constructors

public constructorExcelConnection Constructor Initializes a new instance of the ExcelConnection class.

Public Properties

public propertyConnectionString Overridden. Gets or sets the string used to open Microsoft® Excel Workbook file.
public propertyConnectionTimeout Overridden. Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
public propertyDatabase 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.
public propertyDataSource 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.
public propertyServerVersion Overridden. This property always returns blank string value.
public propertyState Overridden. Gets the current state of the connection.

Public Methods

public methodChangeDatabase This method is not supported.
public methodClose Overridden. Closes the connection to the Microsoft® Excel Workbook file. This is the preferred method of closing any open connection.
public methodCreateCommand Creates and returns an ExcelCommand object associated with the ExcelConnection.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodGetExcelSchemaTable Returns schema information from Microsoft® Excel source as indicated by ExcelClientSchemaType value.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodOpen Overridden. Opens connection with the property settings specified by the ConnectionString.

See Also

ExcelConnection Class | VM.xPort.ExcelClient Namespace