Firebird ADO.NET Provider SDK Documentation - v1.7

FbBatchExecution.GetStatementType Method 

Determines the SqlStatementType of the provided SQL statement.

[Visual Basic]
Public Shared Function GetStatementType( _
   ByVal sqlStatement As String _
) As SqlStatementType
[C#]
public static SqlStatementType GetStatementType(
   string sqlStatement
);

Parameters

sqlStatement
The string containing the SQL statement.

Return Value

The SqlStatementType of the sqlStatement.

Remarks

If the type of sqlStatement could not be determinated this method will throw an exception.

See Also

FbBatchExecution Class | FirebirdSql.Data.Firebird.Isql Namespace