AdomdCommand Members

Represents a command to run against a analytical data source.

The following tables list the members exposed by the AdomdCommand type.

Public Constructors

  Name Description
AdomdCommand Overloaded. Initializes a new instance of the AdomdCommand class.

Top

Public Properties

  Name Description
ms143267.pubproperty(en-US,SQL.90).gif CommandText Gets or sets the command to run.
ms143267.pubproperty(en-US,SQL.90).gif 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.
ms143267.pubproperty(en-US,SQL.90).gif CommandType Gets or sets the System.Data.CommandType used by the AdomdCommand.
ms143267.pubproperty(en-US,SQL.90).gif Parameters Gets an instance of an AdomdParameterCollection class that contains the parameters that the AdomdCommand uses to run the command.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms143267.pubmethod(en-US,SQL.90).gif {dtor} Releases all resources used by the AdomdCommand.
ms143267.pubmethod(en-US,SQL.90).gif Cancel Tries to cancel the command that the AdomdCommand is currently running.
ms143267.pubmethod(en-US,SQL.90).gif Clone Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
ms143267.pubmethod(en-US,SQL.90).gif CreateParameter Returns a newly created AdomdParameter.
ms143267.pubmethod(en-US,SQL.90).gif Dispose Releases all resources used by the AdomdCommand.
ms143267.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms143267.pubmethod(en-US,SQL.90).gif ExecuteNonQuery Runs the AdomdCommand without returning any results.
ms143267.pubmethod(en-US,SQL.90).gif ExecuteReader Overloaded. Runs the AdomdCommand.
ms143267.pubmethod(en-US,SQL.90).gif ExecuteScalar This member is reserved for future use.
ms143267.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms143267.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms143267.pubmethod(en-US,SQL.90).gif Prepare Verifies that the AdomdCommand can run.
ms143267.pubmethod(en-US,SQL.90).gifms143267.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms143267.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms143267.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms143267.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

Explicit Interface Implementations

  Name Description
ICloneable.Clone  
IDbCommand.CreateParameter  
IDbCommand.ExecuteReader Overloaded.  

Top

See Also

Reference

AdomdCommand Class
Microsoft.AnalysisServices.AdomdServer Namespace