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
    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