Compartir a través de


AdomdCommand Miembros

Represents a command to run against a analytical data source.

El tipo AdomdCommand expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico AdomdCommand() () () () Initializes a new instance of the AdomdCommand class with default values.
Método publico AdomdCommand(String) Initializes a new instance of the AdomdCommand class with the text of the command.

Principio

Métodos

  Nombre Descripción
Método publico {dtor} Releases all resources used by the AdomdCommand.
Método publico Cancel Tries to cancel the command that the AdomdCommand is currently running.
Método publico Clone Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
Método publico CreateParameter Returns a newly created AdomdParameter.
Método publico Dispose Releases all resources used by the AdomdCommand.
Método publico Equals (Se hereda de Object).
Método publico ExecuteNonQuery Runs the AdomdCommand without returning any results.
Método publico ExecuteReader() () () () Runs the AdomdCommand and returns an AdomdDataReader.
Método publico ExecuteReader(CommandBehavior) Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.
Método publico ExecuteScalar This member is reserved for future use.
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico Prepare Verifies that the AdomdCommand can run.
Método publico ToString (Se hereda de Object).

Principio

Propiedades

  Nombre Descripción
Propiedad pública CommandText Gets or sets the command to run.
Propiedad pública CommandTimeout Gets or sets the time to wait for a command to run before the AdomdCommand stops trying to run the command and generates an error.
Propiedad pública CommandType Gets or sets the System.Data..::..CommandType used by the AdomdCommand.
Propiedad pública Parameters Gets an instance of an AdomdParameterCollection class that contains the parameters that the AdomdCommand uses to run the command.

Principio