分析データ ソースに対して実行するコマンドを表します。
継承階層
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.AdomdClient.AdomdCommand
名前空間: Microsoft.AnalysisServices.AdomdClient
アセンブリ: Microsoft.AnalysisServices.AdomdClient (Microsoft.AnalysisServices.AdomdClient.dll)
構文
'宣言
Public NotInheritable Class AdomdCommand _
Inherits Component _
Implements IDbCommand, IDisposable, ICloneable
'使用
Dim instance As AdomdCommand
public sealed class AdomdCommand : Component,
IDbCommand, IDisposable, ICloneable
public ref class AdomdCommand sealed : public Component,
IDbCommand, IDisposable, ICloneable
[<SealedAttribute>]
type AdomdCommand =
class
inherit Component
interface IDbCommand
interface IDisposable
interface ICloneable
end
public final class AdomdCommand extends Component implements IDbCommand, IDisposable, ICloneable
AdomdCommand 型は、以下のメンバーを公開しています。
コンストラクター
| 名前 | 説明 | |
|---|---|---|
![]() |
AdomdCommand() | AdomdCommand クラスの新しいインスタンスを既定値で初期化します。 |
![]() |
AdomdCommand(String) | コマンドのテキストを使用して、AdomdCommand クラスの新しいインスタンスを初期化します。 |
![]() |
AdomdCommand(String, AdomdConnection) | コマンドのテキストと AdomdConnection を使用して、AdomdCommand クラスの新しいインスタンスを初期化します。 |
先頭に戻る
プロパティ
| 名前 | 説明 | |
|---|---|---|
![]() |
ActivityID | |
![]() |
CommandStream | System.IO.Stream を使用して、実行するコマンドを取得します。値の設定も可能です。 |
![]() |
CommandText | 実行するコマンドを取得します。値の設定も可能です。 |
![]() |
CommandTimeout | AdomdCommand がコマンドの実行を待機する時間を取得します。値の設定も可能です。この時間内にコマンドを実行できなかった場合は、コマンドの実行が中止されてエラーが生成されます。 |
![]() |
CommandType | AdomdCommand により使用される System.Data.CommandType を取得します。値の設定も可能です。 |
![]() |
Connection | AdomdCommand によって使用される AdomdConnection を取得します。値の設定も可能です。 |
![]() |
Container | (Component から継承されています。) |
![]() |
Parameters | AdomdCommand を実行する際に使用されるパラメーターを含む AdomdParameterCollection クラスのインスタンスを取得します。 |
![]() |
Properties | AdomdCommand に関連付けられているプロパティを含む AdomdPropertyCollection クラスのインスタンスを取得します。 |
![]() |
Site | (Component から継承されています。) |
![]() |
UpdatedRowSource | このメンバーは将来使用するために予約されています。 |
先頭に戻る
メソッド
| 名前 | 説明 | |
|---|---|---|
![]() |
Cancel | AdomdCommand の実行のキャンセルを試行します。 |
![]() |
Clone | 現在の AdomdCommand インスタンスのコピーである新しいオブジェクトを作成して返します。 |
![]() |
CreateObjRef | セキュリティ クリティカル。 (MarshalByRefObject から継承されています。) |
![]() |
CreateParameter | 新しく作成された AdomdParameter を返します。 |
![]() |
Dispose | (Component から継承されています。) |
![]() |
Equals | (Object から継承されています。) |
![]() |
Execute | AdomdCommand を実行し、CellSet または AdomdDataReader のどちらかを返します。 |
![]() |
ExecuteCellSet | AdomdCommand を実行し、CellSet を返します。 |
![]() |
ExecuteNonQuery | 結果を返さずに AdomdCommand を実行します。 |
![]() |
ExecuteReader() | AdomdCommand を実行し、AdomdDataReader を返します。 |
![]() |
ExecuteReader(CommandBehavior) | 指定した System.Data.CommandBehavior 列挙値を使用して AdomdCommand を実行し、AdomdDataReader を返します。 |
![]() |
ExecuteScalar | クエリを実行し、クエリによって返される結果セットの先頭行の最初の列を返します。 |
![]() |
ExecuteXmlReader | AdomdCommand を実行し、System.Xml.XmlReader を返します。 |
![]() |
GetHashCode | (Object から継承されています。) |
![]() |
GetLifetimeService | セキュリティ クリティカル。 (MarshalByRefObject から継承されています。) |
![]() |
GetType | (Object から継承されています。) |
![]() |
InitializeLifetimeService | セキュリティ クリティカル。 (MarshalByRefObject から継承されています。) |
![]() |
Prepare | AdomdCommand を実行できることを確認します。 |
![]() |
ToString | (Component から継承されています。) |
先頭に戻る
イベント
| 名前 | 説明 | |
|---|---|---|
![]() |
Disposed | (Component から継承されています。) |
先頭に戻る
明示的なインターフェイスの実装
| 名前 | 説明 | |
|---|---|---|
![]() ![]() |
ICloneable.Clone | 現在のインスタンスのコピーである新しいオブジェクトを作成します。 |
![]() ![]() |
IDbCommand.Connection | AdomdCommand のこのインスタンスによって使用される AdomdConnection を取得または設定します。 |
![]() ![]() |
IDbCommand.CreateParameter | IDbDataParameter オブジェクトの新しいインスタンスを作成します。 |
![]() ![]() |
IDbCommand.ExecuteReader() | Connection に対して CommandText を実行し、IDataReader を構築します。 |
![]() ![]() |
IDbCommand.ExecuteReader(CommandBehavior) | Connection に対して CommandText を実行し、CommandBehaviour 値のいずれかを使用して IDataReader を構築します。 |
![]() ![]() |
IDbCommand.Parameters | IDataParameterCollection を取得します。 |
![]() ![]() |
IDbCommand.Transaction | コマンド オブジェクトが実行されるトランザクションを取得します。値の設定も可能です。 |
先頭に戻る
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)