CommandType property

Specifies the type of command to be executed.

Syntax
Visual Basic
Public Overrides Property CommandType As CommandType
C#
public override CommandType CommandType { get; set; }
Property value

One of the System.Data.CommandType values. The default is System.Data.CommandType.Text.

Remarks

Supported command types are as follows:

See also