다음을 통해 공유


IDbCommand.CommandType Property

Definition

Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.).

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

Property Value

One of the CommandType values. The default is Text.

Remarks

When the CommandType property is set to StoredProcedure, set the CommandText property to the name of the stored procedure. The user may be required to use escape character syntax if the stored procedure name contains any special characters. The command will call this stored procedure when you call one of the Execute methods.

Applies to