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

In This Topic
    TryParse(String,ParserBehavior,PgSqlSelectStatement) Method
    In This Topic
    Tries to convert the specified SELECT statement to a PgSqlSelectStatement object.
    Syntax
    'Declaration
     
    Public Shared Function TryParse( _
       ByVal text As String, _
       ByVal behavior As ParserBehavior, _
       ByRef statement As PgSqlSelectStatement _
    ) As Boolean
    public static bool TryParse( 
       string text,
       ParserBehavior behavior,
       out PgSqlSelectStatement 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 PgSqlSelectStatement 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