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

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

    Parameters

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

    Return Value

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