DbCommand Properties

DbCommand Properties

 

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_protpropertyCanRaiseEvents

Gets a value indicating whether the component can raise an event.(Inherited from Component.)

System_CAPS_pubpropertyCommandText

Gets or sets the text command to run against the data source.

System_CAPS_pubpropertyCommandTimeout

Gets or sets the wait time before terminating the attempt to execute a command and generating an error.

System_CAPS_pubpropertyCommandType

Indicates or specifies how the CommandText property is interpreted.

System_CAPS_pubpropertyConnection

Gets or sets the DbConnection used by this DbCommand.

System_CAPS_pubpropertyContainer

Gets the IContainer that contains the Component.(Inherited from Component.)

System_CAPS_protpropertyDbConnection

Gets or sets the DbConnection used by this DbCommand.

System_CAPS_protpropertyDbParameterCollection

Gets the collection of DbParameter objects.

System_CAPS_protpropertyDbTransaction

Gets or sets the DbTransaction within which this DbCommand object executes.

System_CAPS_protpropertyDesignMode

Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)

System_CAPS_pubpropertyDesignTimeVisible

Gets or sets a value indicating whether the command object should be visible in a customized interface control.

System_CAPS_protpropertyEvents

Gets the list of event handlers that are attached to this Component.(Inherited from Component.)

System_CAPS_pubpropertyParameters

Gets the collection of DbParameter objects. For more information on parameters, see Configuring Parameters and Parameter Data Types.

System_CAPS_pubpropertySite

Gets or sets the ISite of the Component.(Inherited from Component.)

System_CAPS_pubpropertyTransaction

Gets or sets the DbTransaction within which this DbCommand object executes.

System_CAPS_pubpropertyUpdatedRowSource

Gets or sets how command results are applied to the DataRow when used by the Update method of a DbDataAdapter.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDbCommand.Connection

Gets or sets the IDbConnection used by this instance of the IDbCommand.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDbCommand.Parameters
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDbCommand.Transaction

Gets or sets the DbTransaction within which this DbCommand object executes.

Return to top
Show:
© 2016 Microsoft