TSqlParser.ParseBooleanExpression 方法 (TextReader, IList<ParseError>%)
Returns a Boolean expression and a list of errors by using the provided text reader.
命名空间: Microsoft.SqlServer.TransactSql.ScriptDom
程序集: Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)
语法
声明
Public Function ParseBooleanExpression ( _
input As TextReader, _
<OutAttribute> ByRef errors As IList(Of ParseError) _
) As BooleanExpression
用法
Dim instance As TSqlParser
Dim input As TextReader
Dim errors As IList(Of ParseError)
Dim returnValue As BooleanExpression
returnValue = instance.ParseBooleanExpression(input, _
errors)
public BooleanExpression ParseBooleanExpression(
TextReader input,
out IList<ParseError> errors
)
public:
BooleanExpression^ ParseBooleanExpression(
TextReader^ input,
[OutAttribute] IList<ParseError^>^% errors
)
member ParseBooleanExpression :
input:TextReader *
errors:IList<ParseError> byref -> BooleanExpression
public function ParseBooleanExpression(
input : TextReader,
errors : IList<ParseError>
) : BooleanExpression
参数
- input
类型:System.IO.TextReader
The script that will be parsed.
- errors
类型:System.Collections.Generic.IList<ParseError>%
When this method returns, contains the list of error that occurred during parsing. This parameter is passed uninitialized.
返回值
类型:Microsoft.SqlServer.TransactSql.ScriptDom.BooleanExpression
The parse errors.