Error Class
SQL Server 2012
Represents a Transact-SQL parsing error.
Namespace: Microsoft.SqlServer.Management.SqlParser.Parser
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
The Error type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | End | Gets the end location of the Transact-SQL text that is causing the error. |
![]() | IsWarning | Gets a value that indicates whether the parsing error is a warning. |
![]() | Message | Gets the error message text. |
![]() | Start | Gets the start location of the Transact-SQL text that is causing the error. |
![]() | Type | Gets the ErrorType that indicates whether the error is a syntax, parsing, or binding error. |
| Name | Description | |
|---|---|---|
![]() | CompareTo | Compares the location of this instance to the location of the specified Error object and returns an integer that indicates their relative position to each other. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(Error) | Compares the location of this instance to the location of the specified Error object. |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |

