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.

TryParse(String,ParserBehavior,DB2SelectStatement) Method
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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also