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

  名称 Description
AdomdCommand Overloaded. Initializes a new instance of the AdomdCommand class.

顶部

Public Properties

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

顶部

Public Methods

(see also Protected Methods )

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

顶部

Protected Methods

  名称 Description
ms143267.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms143267.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

Explicit Interface Implementations

  名称 Description
ICloneable.Clone  
IDbCommand.CreateParameter  
IDbCommand.ExecuteReader Overloaded.  

顶部

请参阅

参考

AdomdCommand Class
Microsoft.AnalysisServices.AdomdServer Namespace