This documentation is archived and is not being maintained.

OleDbCommand Properties

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

Public Properties

public propertyCommandText Gets or sets the SQL statement or stored procedure to execute at the data source.
public propertyCommandTimeout Gets or sets the wait time before terminating an attempt to execute a command and generating an error.
public propertyCommandType Gets or sets a value indicating how the CommandText property is interpreted.
public propertyConnection Gets or sets the OleDbConnection used by this instance of the OleDbCommand.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDesignTimeVisible Gets or sets a value indicating whether the command object should be visible in a customized Windows Forms Designer control.
public propertyParameters Gets the OleDbParameterCollection.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyTransaction Gets or sets the OleDbTransaction within which the OleDbCommand executes.
public propertyUpdatedRowSource Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter.

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

OleDbCommand Class | System.Data.OleDb Namespace