Share via


Error Class

Represents a Transact-SQL parsing error.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.SqlParser.Parser.Error

Namespace:  Microsoft.SqlServer.Management.SqlParser.Parser
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Class Error _
    Implements IComparable(Of Error)
'Usage
Dim instance As Error
public class Error : IComparable<Error>
public ref class Error : IComparable<Error^>
type Error =  
    class
        interface IComparable<Error>
    end
public class Error implements IComparable<Error>

The Error type exposes the following members.

Properties

  Name Description
Public property End
Public property IsWarning
Public property Message
Public property Start
Public property Type

Top

Methods

  Name Description
Public method 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.
Public method Equals(Object) (Inherited from Object.)
Public method Equals(Error) Compares the location of this instance to the location of the specified Error object.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.