TSqlParser.ParseScalarDataType 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ParseScalarDataType(TextReader, IList<ParseError>) |
解析輸入字串以取得資料型別。 如果有任何錯誤,會回傳 null。 |
| ParseScalarDataType(TextReader, IList<ParseError>, Int32, Int32, Int32) |
解析輸入字串以取得資料型別。 如果有任何錯誤,會回傳 null。 |
ParseScalarDataType(TextReader, IList<ParseError>)
解析輸入字串以取得資料型別。 如果有任何錯誤,會回傳 null。
public Microsoft.SqlServer.TransactSql.ScriptDom.DataTypeReference ParseScalarDataType(System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors);
member this.ParseScalarDataType : System.IO.TextReader * IList -> Microsoft.SqlServer.TransactSql.ScriptDom.DataTypeReference
Public Function ParseScalarDataType (input As TextReader, ByRef errors As IList(Of ParseError)) As DataTypeReference
參數
- input
- TextReader
輸入。
- errors
- IList<ParseError>
錯誤的集合。
傳回
適用於
ParseScalarDataType(TextReader, IList<ParseError>, Int32, Int32, Int32)
解析輸入字串以取得資料型別。 如果有任何錯誤,會回傳 null。
public abstract Microsoft.SqlServer.TransactSql.ScriptDom.DataTypeReference ParseScalarDataType(System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors, int startOffset, int startLine, int startColumn);
abstract member ParseScalarDataType : System.IO.TextReader * IList * int * int * int -> Microsoft.SqlServer.TransactSql.ScriptDom.DataTypeReference
Public MustOverride Function ParseScalarDataType (input As TextReader, ByRef errors As IList(Of ParseError), startOffset As Integer, startLine As Integer, startColumn As Integer) As DataTypeReference
參數
- input
- TextReader
- errors
- IList<ParseError>
- startOffset
- Int32
- startLine
- Int32
- startColumn
- Int32