共用方式為


TSql160Parser.ParseConstantOrIdentifierWithDefault 方法

定義

剖析輸入字串,以取得常數或識別碼或預設常值, (常值值為 「DEFAULT」) 。 如果有任何錯誤,這會傳回 null。

public override Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment ParseConstantOrIdentifierWithDefault (System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors, int startOffset, int startLine, int startColumn);
override this.ParseConstantOrIdentifierWithDefault : System.IO.TextReader * IList * int * int * int -> Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public Overrides Function ParseConstantOrIdentifierWithDefault (input As TextReader, ByRef errors As IList(Of ParseError), startOffset As Integer, startLine As Integer, startColumn As Integer) As TSqlFragment

參數

input
TextReader
errors
IList<ParseError>
startOffset
Int32
startLine
Int32
startColumn
Int32

傳回

適用於