Freigeben über


IDbCommand-Member

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

Der IDbCommand-Typ macht die folgenden Member verfügbar.

Methoden

  Name Beschreibung
Öffentliche Methode Cancel Attempts to cancel the execution of an IDbCommand.
Öffentliche Methode CreateParameter Creates a new instance of an IDataParameter object.
Öffentliche Methode Dispose (Geerbt von IDisposable.)
Öffentliche Methode ExecuteReader Executes the CommandText against the Connection and builds an IDataReader.

Zum Anfang

Eigenschaften

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

Zum Anfang