Npgsql API Documentation |

# NpgsqlCommand.CommandType Property

[This is preliminary documentation and subject to change.]

Gets or sets a value indicating how the CommandText property is to be interpreted.

[Visual Basic]
<Category(Category="Data")>
<DefaultValue(Value=(CommandType.Text))>
NotOverridable Public Property CommandType As CommandType Implements _
IDbCommand.CommandType
[C#]
[Category(Category="Data")]
[DefaultValue(Value=(CommandType.Text))]
public System.Data.CommandType CommandType {get; set;}

#### Property Value

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

#### Implements

IDbCommand.CommandType

#### See Also

NpgsqlCommand Class | Npgsql Namespace