Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OleDbConnection Properties

The properties of the OleDbConnection class are listed here. For a complete list of OleDbConnection class members, see the OleDbConnection Members topic.

Public Properties

public propertyConnectionString Gets or sets the string used to open a database.
public propertyConnectionTimeout Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDatabase Gets the name of the current database or the database to be used after a connection is opened.
public propertyDataSource Gets the server name or file name of the data source.
public propertyProvider Gets the name of the OLE DB provider specified in the "Provider= " clause of the connection string.
public propertyServerVersion Gets a string containing the version of the server to which the client is connected.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyState Gets the current state of the connection.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

See Also

OleDbConnection Class | System.Data.OleDb Namespace

Show:
© 2015 Microsoft