Membres IDbCommand

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

Le type IDbCommand expose les membres suivants.

Méthodes

  Nom Description
Méthode publique Cancel Attempts to cancel the execution of an IDbCommand.
Méthode publique CreateParameter Creates a new instance of an IDataParameter object.
Méthode publique Dispose (Hérité de IDisposable.)
Méthode publique ExecuteReader Executes the CommandText against the Connection and builds an IDataReader.

Haut de la page

Propriétés

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

Haut de la page