次の方法で共有


AdomdCommand クラス

分析データ ソースに対して実行するコマンドを表します。

継承階層

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..AdomdCommand

名前空間:  Microsoft.AnalysisServices.AdomdServer
アセンブリ:  msmgdsrv (msmgdsrv.dll)

構文

'宣言
Public NotInheritable Class AdomdCommand _
    Implements IDisposable, IDbCommand, ICloneable
'使用
Dim instance As AdomdCommand
public sealed class AdomdCommand : IDisposable, 
    IDbCommand, ICloneable
public ref class AdomdCommand sealed : IDisposable, 
    IDbCommand, ICloneable
[<SealedAttribute>]
type AdomdCommand =  
    class
        interface IDisposable
        interface IDbCommand
        interface ICloneable
    end
public final class AdomdCommand implements IDisposable, IDbCommand, ICloneable

AdomdCommand 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド AdomdCommand() () () () AdomdCommand クラスの新しいインスタンスを既定値で初期化します。
パブリック メソッド AdomdCommand(String) コマンドのテキストを使用して、AdomdCommand クラスの新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ CommandText 実行するコマンドを取得します。値の設定も可能です。
パブリック プロパティ CommandTimeout AdomdCommand がコマンドの実行を待機する時間を取得します。値の設定も可能です。この時間内にコマンドを実行できなかった場合は、コマンドの実行が中止されてエラーが生成されます。
パブリック プロパティ CommandType AdomdCommand により使用される System.Data..::..CommandType を取得します。値の設定も可能です。
パブリック プロパティ Parameters AdomdCommand でコマンドを実行する際に使用されるパラメータを含む AdomdParameterCollection クラスのインスタンスを取得します。

先頭に戻る

メソッド

  名前 説明
パブリック メソッド {dtor} AdomdCommand で使用されるすべてのリソースを解放します。
パブリック メソッド Cancel AdomdCommand で現在実行されているコマンドをキャンセルします。
パブリック メソッド Clone 現在の AdomdCommand に基づいて AdomdCommand クラスのインスタンスを作成して返します。
パブリック メソッド CreateParameter 新しく作成された AdomdParameter を返します。
パブリック メソッド Dispose AdomdCommand で使用されるすべてのリソースを解放します。
パブリック メソッド Equals (Object から継承されています。)
パブリック メソッド ExecuteNonQuery 結果を返さずに AdomdCommand を実行します。
パブリック メソッド ExecuteReader() () () () AdomdCommand を実行し、AdomdDataReader を返します。
パブリック メソッド ExecuteReader(CommandBehavior) 指定した CommandBehavior 列挙値を使用して AdomdCommand を実行し、AdomdDataReader を返します。
パブリック メソッド ExecuteScalar このメンバは将来使用するために予約されています。
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
プロテクト メソッド MemberwiseClone (Object から継承されています。)
パブリック メソッド Prepare AdomdCommand を実行できることを確認します。
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。