AdomdCommand Members

Include Protected Members
Include Inherited Members

Represents a command to run against a analytical data source.

The AdomdCommand type exposes the following members.

Constructors

  Name Description
Public method AdomdCommand() Initializes a new instance of the AdomdCommand class with default values.
Public method AdomdCommand(String) Initializes a new instance of the AdomdCommand class with the text of the command.

Top

Methods

  Name Description
Public method {dtor}() Releases all resources used by the AdomdCommand.
Public method Cancel() Tries to cancel the command that the AdomdCommand is currently running.
Public method Clone() Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
Public method CreateParameter() Returns a newly created AdomdParameter.
Public method Dispose() Releases all resources used by the AdomdCommand.
Public method Equals(Object) (Inherited from Object.)
Public method ExecuteNonQuery() Runs the AdomdCommand without returning any results.
Public method ExecuteReader() Runs the AdomdCommand and returns an AdomdDataReader.
Public method ExecuteReader(CommandBehavior) Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.
Public method ExecuteScalar() This member is reserved for future use.
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method Prepare() Verifies that the AdomdCommand can run.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property CommandText Gets or sets the command to run.
Public property 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.
Public property CommandType Gets or sets the System.Data.CommandType used by the AdomdCommand.
Public property Parameters Gets an instance of an AdomdParameterCollection class that contains the parameters that the AdomdCommand uses to run the command.

Top