OleDbCommand Properties
.NET Framework 4
The OleDbCommand type exposes the following members.
| Name | Description | |
|---|---|---|
|
CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) |
|
CommandText | Gets or sets the SQL statement or stored procedure to execute at the data source. (Overrides DbCommand.CommandText.) |
|
CommandTimeout | Gets or sets the wait time before terminating an attempt to execute a command and generating an error. (Overrides DbCommand.CommandTimeout.) |
|
CommandType | Gets or sets a value that indicates how the CommandText property is interpreted. (Overrides DbCommand.CommandType.) |
|
Connection | Gets or sets the OleDbConnection used by this instance of the OleDbCommand. |
|
Container | Gets the IContainer that contains the Component. (Inherited from Component.) |
|
DbConnection | Gets or sets the DbConnection used by this DbCommand. (Inherited from DbCommand.) |
|
DbParameterCollection | Gets the collection of DbParameter objects. (Inherited from DbCommand.) |
|
DbTransaction | Gets or sets the DbTransaction within which this DbCommand object executes. (Inherited from DbCommand.) |
|
DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) |
|
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.) |
|
Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) |
|
Parameters | Gets the OleDbParameterCollection. |
|
Site | Gets or sets the ISite of the Component. (Inherited from Component.) |
|
Transaction | Gets or sets the OleDbTransaction within which the OleDbCommand executes. |
|
UpdatedRowSource | Gets or sets how command results are applied to the DataRow when used by the Update method of the OleDbDataAdapter. (Overrides DbCommand.UpdatedRowSource.) |
| Name | Description | |
|---|---|---|
|
IDbCommand.Connection | Gets or sets the IDbConnection used by this instance of the IDbCommand. (Inherited from DbCommand.) |
|
IDbCommand.Parameters | Gets the IDataParameterCollection. (Inherited from DbCommand.) |
|
IDbCommand.Transaction | Gets or sets the DbTransaction within which this DbCommand object executes. (Inherited from DbCommand.) |