LineScanner Class
Scans Transact-SQL statements searching for individual units of code (tokens).
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
| Name | Description | |
|---|---|---|
![]() | LineScanner() | Initializes a new instance of the LineScanner class by using a default ParseOptions object. |
| Name | Description | |
|---|---|---|
![]() | BatchSeparator | Gets or sets the string that is used to separate a single script into multiple batches. |
![]() | IsSqlCmdModeEnabled | Gets or sets a value that indicates whether the scanner is enabled for Transact-SQL. |
| Name | Description | |
|---|---|---|
![]() ![]() | DefineToken(Int32, TokenType, TokenTriggers) | Creates a token definition and adds it to the array of token definitions. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | PopulateDefiniton(TokenInfo^) | Fills the TokenInfo object with the token definition. |
![]() | ScanTokenAndProvideInfoAboutIt(TokenInfo^, Int32%) | Parses the next language token from the current line and returns information about it. |
![]() | SetSource(String^, Int32) | Sets the line to be parsed. |
![]() | ToString() | (Inherited from Object.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



