共用方式為


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

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

頂端

Public Methods

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

頂端

請參閱

參考

IDbCommand Interface
Microsoft.ReportingServices.DataProcessing Namespace