CommandType

This property specifies the command type that indicates how the CommandText property is to be interpreted.

Declaration

// C#
public override CommandType CommandType {get; set;}

Property Value

A CommandType.

Exceptions

ArgumentException - The value is not a valid CommandType.

Remarks

Default = CommandType.Text

If the value of the XmlCommandType property is not None, then the CommandType property is ignored. ODP.NET does not support the property value CommandType.TableDirect.