다음을 통해 공유


Error 클래스

Represents a Transact-SQL parsing error.

상속 계층

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

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Parser
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Public Class Error _
    Implements IComparable(Of Error)
‘사용 방법
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>

Error 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 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.

맨 위로 이동

메서드

  이름 설명
공용 메서드 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) (Object에서 상속됨)
공용 메서드 Equals(Error) Compares the location of this instance to the location of the specified Error object.
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.SqlParser.Parser 네임스페이스