Npgsql Api Docs |

# NpgsqlCommand.CommandText Property

Gets or sets the SQL statement or function (stored procedure) to execute at the data source.

[Visual Basic]
Overrides Public Property CommandText As String _
Implements IDbCommand.CommandText
[C#]
public override string CommandText {get; set;}

#### Property Value

The Transact-SQL statement or stored procedure to execute. The default is an empty string.

#### Implements

IDbCommand.CommandText

#### See Also

NpgsqlCommand Class | Npgsql Namespace