DbCommand::CommandType Property
.NET Framework (current version)
Indicates or specifies how the CommandText property is interpreted.
Assembly: System.Data (in System.Data.dll)
public: property CommandType CommandType { virtual CommandType get() abstract; virtual void set(CommandType value) abstract; }
Implements
IDbCommand::CommandTypeWhen you set the CommandType to StoredProcedure, you should set the CommandText property to the name of the stored procedure. The command executes this stored procedure when you call one of the Execute methods.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: