SqlBatchCommand.CommandType Property

Definition

Gets or sets how the CommandText property is interpreted.

public:
 property System::Data::CommandType CommandType { System::Data::CommandType get(); void set(System::Data::CommandType value); };
public:
 virtual property System::Data::CommandType CommandType { System::Data::CommandType get(); void set(System::Data::CommandType value); };
public System.Data.CommandType CommandType { get; set; }
public override System.Data.CommandType CommandType { get; set; }
member this.CommandType : System.Data.CommandType with get, set
Public Property CommandType As CommandType
Public Overrides Property CommandType As CommandType

Property Value

One of the enumeration values that specifies how a command string is interpreted. The default is Text.

Applies to