AdomdCommand 成員

Represents a command to be run against an 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.
公用方法 AdomdCommand(String, AdomdConnection) Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection.

頂端

方法

  名稱 描述
公用方法 Cancel Tries to cancel the execution of the AdomdCommand.
公用方法 Clone Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
公用方法 CreateObjRef (繼承自 MarshalByRefObject。)
公用方法 CreateParameter Returns a newly created AdomdParameter.
公用方法 Dispose (繼承自 Component。)
受保護的方法 Dispose (繼承自 Component。)
公用方法 Equals (繼承自 Object。)
公用方法 Execute Runs the AdomdCommand, and returns either a CellSet or an AdomdDataReader.
公用方法 ExecuteCellSet Runs the AdomdCommand and returns a CellSet.
公用方法 ExecuteNonQuery Runs the AdomdCommand without returning any results.
公用方法 ExecuteReader() () () () Runs the AdomdCommand and returns an AdomdDataReader.
公用方法 ExecuteReader(CommandBehavior) Runs the AdomdCommand using the specified System.Data..::..CommandBehaviorenumeration value and returns an AdomdDataReader.
公用方法 ExecuteScalar This member is reserved for future use.
公用方法 ExecuteXmlReader Runs the AdomdCommand and returns an System.Xml..::..XmlReader.
受保護的方法 Finalize (繼承自 Component。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetLifetimeService (繼承自 MarshalByRefObject。)
受保護的方法 GetService (繼承自 Component。)
公用方法 GetType (繼承自 Object。)
公用方法 InitializeLifetimeService (繼承自 MarshalByRefObject。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 MarshalByRefObject。)
公用方法 Prepare Verifies that the AdomdCommand can run.
公用方法 ToString (繼承自 Component。)

頂端

屬性

  名稱 描述
受保護的屬性 CanRaiseEvents (繼承自 Component。)
公用屬性 CommandStream Gets or sets the command to run, using a System.IO..::..Stream.
公用屬性 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.
公用屬性 Connection Gets or sets the AdomdConnection that the AdomdCommand uses.
公用屬性 Container (繼承自 Component。)
受保護的屬性 DesignMode (繼承自 Component。)
受保護的屬性 Events (繼承自 Component。)
公用屬性 Parameters Gets an instance of an AdomdParameterCollection class that contains the parameters used when running the AdomdCommand.
公用屬性 Properties Gets an instance of an AdomdPropertyCollection class that contains the properties associated with the AdomdCommand.
公用屬性 Site (繼承自 Component。)
公用屬性 UpdatedRowSource This member is reserved for future use.

頂端

事件

  名稱 描述
公用事件 Disposed (繼承自 Component。)

頂端