共用方式為


TSqlParser.ParseConstantOrIdentifier 方法 (TextReader, IList<ParseError>%)

Returns a constant or identifier 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 ParseConstantOrIdentifier ( _
    input As TextReader, _
    <OutAttribute> ByRef errors As IList(Of ParseError) _
) As TSqlFragment
'用途
Dim instance As TSqlParser 
Dim input As TextReader 
Dim errors As IList(Of ParseError)
Dim returnValue As TSqlFragment 

returnValue = instance.ParseConstantOrIdentifier(input, _
    errors)
public TSqlFragment ParseConstantOrIdentifier(
    TextReader input,
    out IList<ParseError> errors
)
public:
TSqlFragment^ ParseConstantOrIdentifier(
    TextReader^ input, 
    [OutAttribute] IList<ParseError^>^% errors
)
member ParseConstantOrIdentifier : 
        input:TextReader * 
        errors:IList<ParseError> byref -> TSqlFragment
public function ParseConstantOrIdentifier(
    input : TextReader, 
    errors : IList<ParseError>
) : TSqlFragment

參數

傳回值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
A constant or identifier.

請參閱

參考

TSqlParser 類別

ParseConstantOrIdentifier 多載

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間