Compartilhar via


Membros IDbCommand

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

O tipo IDbCommand expõe os seguintes membros.

Métodos

  Nome Descrição
Método público Cancel Attempts to cancel the execution of an IDbCommand.
Método público CreateParameter Creates a new instance of an IDataParameter object.
Método público Dispose (Herdado de IDisposable.)
Método público ExecuteReader Executes the CommandText against the Connection and builds an IDataReader.

Início

Propriedades

  Nome Descrição
Propriedade pública CommandText Gets or sets the text command to run against the data source.
Propriedade pública CommandTimeout Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
Propriedade pública CommandType Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.).
Propriedade pública Parameters Gets the IDataParameterCollection.
Propriedade pública Transaction Gets or sets the transaction in which the Command object of a SQL Server Reporting Services data provider executes.

Início