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 | |
|---|---|---|
| .gif) | CommandText | Gets or sets the text command to run against the data source. | 
| .gif) | CommandTimeout | Gets or sets the wait time before terminating the attempt to execute a command and generating an error. | 
| .gif) | CommandType | Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.). | 
| .gif) | Parameters | Gets the IDataParameterCollection. | 
| .gif) | Transaction | Gets or sets the transaction in which the Command object of a SQL Server Reporting Services data provider executes. | 
顶部
Public Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Cancel | Attempts to cancel the execution of an IDbCommand. | 
| .gif) | CreateParameter | Creates a new instance of an IDataParameter object. | 
| .gif) | ExecuteReader | Executes the CommandText against the Connection and builds an IDataReader. | 
顶部
请参阅
参考
IDbCommand Interface
Microsoft.ReportingServices.DataProcessing Namespace