言語

IDbCommand.CommandType プロパティ

定義

CommandTextプロパティがどのように解釈されるか(テキスト、ストアドプロシージャなど)を示したり指定したりします。

public:
 property Microsoft::ReportingServices::DataProcessing::CommandType CommandType { Microsoft::ReportingServices::DataProcessing::CommandType get(); void set(Microsoft::ReportingServices::DataProcessing::CommandType value); };
public Microsoft.ReportingServices.DataProcessing.CommandType CommandType { get; set; }
member this.CommandType : Microsoft.ReportingServices.DataProcessing.CommandType with get, set
Public Property CommandType As CommandType

プロパティ値

CommandType値の 1 つ。 既定値は Text です。

注釈

CommandType プロパティが StoredProcedure に設定されている場合は、CommandText プロパティをストアド プロシージャの名前に設定します。 ストアド プロシージャ名に特殊文字が含まれている場合、ユーザーはエスケープ文字構文を使用する必要があります。 このコマンドは 、Execute メソッドのいずれかを呼び出すとこのストアドプロシージャを呼び出します。

適用対象