This documentation is archived and is not being maintained.

OleDbCommand Properties

The OleDbCommand type exposes the following members.

Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property CommandText Gets or sets the SQL statement or stored procedure to execute at the data source. (Overrides DbCommand.CommandText.)
Public property CommandTimeout Gets or sets the wait time before terminating an attempt to execute a command and generating an error. (Overrides DbCommand.CommandTimeout.)
Public property CommandType Gets or sets a value that indicates how the CommandText property is interpreted. (Overrides DbCommand.CommandType.)
Public property Connection Gets or sets the OleDbConnection used by this instance of the OleDbCommand.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Protected property DbConnection Gets or sets the DbConnection used by this DbCommand. (Inherited from DbCommand.)
Protected property DbParameterCollection Gets the collection of DbParameter objects. (Inherited from DbCommand.)
Protected property DbTransaction Gets or sets the DbTransaction within which this DbCommand object executes. (Inherited from DbCommand.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property DesignTimeVisible Gets or sets a value that indicates whether the command object should be visible in a customized Windows Forms Designer control. (Overrides DbCommand.DesignTimeVisible.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Parameters Gets the OleDbParameterCollection.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Transaction Gets or sets the OleDbTransaction within which the OleDbCommand executes.
Public property UpdatedRowSource Gets or sets how command results are applied to the DataRow when used by the Update method of the OleDbDataAdapter. (Overrides DbCommand.UpdatedRowSource.)