Export (0) Print
Expand All

Error Class

Represents a Transact-SQL parsing error.

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

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

public class Error : IComparable<Error>

The Error type exposes the following members.

  NameDescription
Public propertyEndGets the end location of the Transact-SQL text that is causing the error.
Public propertyIsWarningGets a value that indicates whether the parsing error is a warning.
Public propertyMessageGets the error message text.
Public propertyStartGets the start location of the Transact-SQL text that is causing the error.
Public propertyTypeGets the ErrorType that indicates whether the error is a syntax, parsing, or binding error.
Top

  NameDescription
Public methodCompareToCompares 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 methodEquals(Object) (Inherited from Object.)
Public methodEquals(Error)Compares the location of this instance to the location of the specified Error object.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft