共用方式為


AdomdCommand 成員

Represents a command to run against a analytical data source.

AdomdCommand 型別公開下列成員。

建構函式

  名稱 描述
公用方法 AdomdCommand() () () () Initializes a new instance of the AdomdCommand class with default values.
公用方法 AdomdCommand(String) Initializes a new instance of the AdomdCommand class with the text of the command.

頂端

方法

  名稱 描述
公用方法 {dtor} Releases all resources used by the AdomdCommand.
公用方法 Cancel Tries to cancel the command that the AdomdCommand is currently running.
公用方法 Clone Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
公用方法 CreateParameter Returns a newly created AdomdParameter.
公用方法 Dispose Releases all resources used by the AdomdCommand.
公用方法 Equals (繼承自 Object。)
公用方法 ExecuteNonQuery Runs the AdomdCommand without returning any results.
公用方法 ExecuteReader() () () () Runs the AdomdCommand and returns an AdomdDataReader.
公用方法 ExecuteReader(CommandBehavior) Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.
公用方法 ExecuteScalar This member is reserved for future use.
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Prepare Verifies that the AdomdCommand can run.
公用方法 ToString (繼承自 Object。)

頂端

屬性

  名稱 描述
公用屬性 CommandText Gets or sets the command to run.
公用屬性 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.
公用屬性 CommandType Gets or sets the System.Data..::..CommandType used by the AdomdCommand.
公用屬性 Parameters Gets an instance of an AdomdParameterCollection class that contains the parameters that the AdomdCommand uses to run the command.

頂端