Udostępnij za pośrednictwem


AdomdCommand Members

Represents a command to be run against an 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

(see also Protected Properties )

  Name Description
ms141608.pubproperty(en-US,SQL.90).gif CommandStream Gets or sets the command to run, using a System.IO.Stream.
ms141608.pubproperty(en-US,SQL.90).gif CommandText Gets or sets the command to run.
ms141608.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.
ms141608.pubproperty(en-US,SQL.90).gif CommandType Gets or sets the System.Data.CommandType used by the AdomdCommand.
ms141608.pubproperty(en-US,SQL.90).gif Connection Gets or sets the AdomdConnection that the AdomdCommand uses.
ms141608.pubproperty(en-US,SQL.90).gif Container  (inherited from Component )
ms141608.pubproperty(en-US,SQL.90).gif Parameters Gets an instance of an AdomdParameterCollection class that contains the parameters used when running the AdomdCommand.
ms141608.pubproperty(en-US,SQL.90).gif Properties Gets an instance of an AdomdPropertyCollection class that contains the properties associated with the AdomdCommand.
ms141608.pubproperty(en-US,SQL.90).gif Site  (inherited from Component )
ms141608.pubproperty(en-US,SQL.90).gif UpdatedRowSource This member is reserved for future use.

Top

Protected Properties

  Name Description
ms141608.protproperty(en-US,SQL.90).gif CanRaiseEvents  (inherited from Component )
ms141608.protproperty(en-US,SQL.90).gif DesignMode  (inherited from Component )
ms141608.protproperty(en-US,SQL.90).gif Events  (inherited from Component )

Top

Public Methods

(see also Protected Methods )

  Name Description
ms141608.pubmethod(en-US,SQL.90).gif Cancel Tries to cancel the execution of the AdomdCommand.
ms141608.pubmethod(en-US,SQL.90).gif Clone Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
ms141608.pubmethod(en-US,SQL.90).gif CreateObjRef  (inherited from MarshalByRefObject )
ms141608.pubmethod(en-US,SQL.90).gif CreateParameter Returns a newly created AdomdParameter.
ms141608.pubmethod(en-US,SQL.90).gif Dispose  Overloaded. (inherited from Component )
ms141608.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms141608.pubmethod(en-US,SQL.90).gif Execute Runs the AdomdCommand, and returns either a CellSet or an AdomdDataReader.
ms141608.pubmethod(en-US,SQL.90).gif ExecuteCellSet Runs the AdomdCommand and returns a CellSet.
ms141608.pubmethod(en-US,SQL.90).gif ExecuteNonQuery Runs the AdomdCommand without returning any results.
ms141608.pubmethod(en-US,SQL.90).gif ExecuteReader Overloaded.  
ms141608.pubmethod(en-US,SQL.90).gif ExecuteScalar This member is reserved for future use.
ms141608.pubmethod(en-US,SQL.90).gif ExecuteXmlReader Runs the AdomdCommand and returns an System.Xml.XmlReader.
ms141608.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms141608.pubmethod(en-US,SQL.90).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms141608.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms141608.pubmethod(en-US,SQL.90).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms141608.pubmethod(en-US,SQL.90).gif Prepare Verifies that the AdomdCommand can run.
ms141608.pubmethod(en-US,SQL.90).gifms141608.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms141608.pubmethod(en-US,SQL.90).gif ToString  (inherited from Component )

Top

Protected Methods

  Name Description
ms141608.protmethod(en-US,SQL.90).gif Dispose  Overloaded. (inherited from Component )
ms141608.protmethod(en-US,SQL.90).gif Finalize  (inherited from Component )
ms141608.protmethod(en-US,SQL.90).gif GetService  (inherited from Component )
ms141608.protmethod(en-US,SQL.90).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )

Top

Public Events

  Name Description
ms141608.pubevent(en-US,SQL.90).gif Disposed  (inherited from Component )

Top

Explicit Interface Implementations

  Name Description
System.Data.IDbCommand.CreateParameter  
System.Data.IDbCommand.ExecuteReader Overloaded.  
System.ICloneable.Clone  
System.Data.IDbCommand.Connection  
System.Data.IDbCommand.Parameters  
System.Data.IDbCommand.Transaction  

Top

See Also

Reference

AdomdCommand Class
Microsoft.AnalysisServices.AdomdClient Namespace