Share via


Parser.Parse 메서드 (String, ParseOptions)

Parses the specified Transact-SQL string using the specified parser options.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Parser
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Public Shared Function Parse ( _
    sql As String, _
    options As ParseOptions _
) As ParseResult
‘사용 방법
Dim sql As String 
Dim options As ParseOptions 
Dim returnValue As ParseResult 

returnValue = Parser.Parse(sql, options)
public static ParseResult Parse(
    string sql,
    ParseOptions options
)
public:
static ParseResult^ Parse(
    String^ sql, 
    ParseOptions^ options
)
static member Parse : 
        sql:string * 
        options:ParseOptions -> ParseResult
public static function Parse(
    sql : String, 
    options : ParseOptions
) : ParseResult

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Parser.ParseResult
A ParseResult object that represents the parsing result.

예외

예외 조건
ArgumentNullException

sql is nullnull 참조(Visual Basic에서는 Nothing).

참고 항목

참조

Parser 클래스

Parse 오버로드

Microsoft.SqlServer.Management.SqlParser.Parser 네임스페이스