Error Class

 

Represents a Transact-SQL parsing error.

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

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

public class Error : IComparable<Error>

NameDescription
System_CAPS_pubpropertyEnd

Gets the end location of the Transact-SQL text that is causing the error.

System_CAPS_pubpropertyIsWarning

Gets a value that indicates whether the parsing error is a warning.

System_CAPS_pubpropertyMessage

Gets the error message text.

System_CAPS_pubpropertyStart

Gets the start location of the Transact-SQL text that is causing the error.

System_CAPS_pubpropertyType

Gets the ErrorType that indicates whether the error is a syntax, parsing, or binding error.

NameDescription
System_CAPS_pubmethodCompareTo(Error)

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.

System_CAPS_pubmethodEquals(Error)

Compares the location of this instance to the location of the specified Error object.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: