dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2SelectStatement Class / TryParse(String,ParserBehavior,DB2SelectStatement) Method
The statement to parse.
One of the Devart.Common.ParserBehavior values. Determines what parts of the statement to analyze.
A DB2SelectStatement object that represents the specified SELECT statement.

In This Topic
TryParse(String,ParserBehavior,DB2SelectStatement) Method
In This Topic
Tries to convert the specified SELECT statement to a DB2SelectStatement object.
Syntax
'Declaration
 
Public Shared Function TryParse( _
   ByVal text As String, _
   ByVal behavior As ParserBehavior, _
   ByRef statement As DB2SelectStatement _
) As Boolean
 

Parameters

text
The statement to parse.
behavior
One of the Devart.Common.ParserBehavior values. Determines what parts of the statement to analyze.
statement
A DB2SelectStatement object that represents the specified SELECT statement.

Return Value

true if the conversion was successful; otherwise, false
See Also