Udostępnij za pośrednictwem


IDbCommand Members

Represents a statement that is executed while an open connection to a data source exists.

The following tables list the members exposed by the IDbCommand type.

Public Properties

  Name Description
ms159947.pubproperty(en-US,SQL.90).gif CommandText Gets or sets the text command to run against the data source.
ms159947.pubproperty(en-US,SQL.90).gif CommandTimeout Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
ms159947.pubproperty(en-US,SQL.90).gif CommandType Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.).
ms159947.pubproperty(en-US,SQL.90).gif Parameters Gets the IDataParameterCollection.
ms159947.pubproperty(en-US,SQL.90).gif Transaction Gets or sets the transaction in which the Command object of a SQL Server Reporting Services data provider executes.

Top

Public Methods

  Name Description
ms159947.pubmethod(en-US,SQL.90).gif Cancel Attempts to cancel the execution of an IDbCommand.
ms159947.pubmethod(en-US,SQL.90).gif CreateParameter Creates a new instance of an IDataParameter object.
ms159947.pubmethod(en-US,SQL.90).gif ExecuteReader Executes the CommandText against the Connection and builds an IDataReader.

Top

See Also

Reference

IDbCommand Interface
Microsoft.ReportingServices.DataProcessing Namespace