Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a statement that is executed while an open connection to a data source exists.
public interface class IDbCommand : IDisposable
public interface IDbCommand : IDisposable
type IDbCommand = interface
Public Interface IDbCommand
The IDbCommand interface enables you to implement a Command class, which represents a statement that is executed at a data source. For more information about Command classes, see Implementing a Command Class for a Data Processing Extension.
Classes that implement IDbCommand must also implement all required members, and typically define additional members to add provider-specific functionality.
When you implement from the IDbCommand interface, you should implement the following constructors:
|Initializes a new instance of the PrvCommand class.
|PrvCommand(string cmdText )
|Initializes a new instance of the PrvCommand class with the text of the query.
|PrvCommand(string cmdText, PrvTransaction transaction )
|Initializes a new instance of the PrvCommand class with the text of the query, a PrvConnection, and the PrvTransaction.
Gets or sets the text command to run against the data source.
Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.).
Gets the IDataParameterCollection.
Gets or sets the transaction in which the Command object of a SQL Server Reporting Services data provider executes.
Attempts to cancel the execution of an IDbCommand.
Creates a new instance of an IDataParameter object.