Share via


TSqlCompilationError Structure

The TSqlCompilationError class contains information on a Transact-SQL compilation error or warning.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Structure TSqlCompilationError
'Usage
Dim instance As TSqlCompilationError
public struct TSqlCompilationError
public value class TSqlCompilationError
[<SealedAttribute>]
type TSqlCompilationError =  struct end
JScript suports the use of structures, but not the declaration of new ones.

The TSqlCompilationError type exposes the following members.

Properties

  Name Description
Public property End Gets the end location of the error in the source file.
Public property FileName Gets the name of the source file in which the error occurred.
Public property IsWarning Gets a value that specifies whether the error is an exception, or if it is just a warning.
Public property Message Gets the error message from the exception.
Public property Start Gets the start location of the error in the source file.

Top

Methods

  Name Description
Public method Equals (Inherited from ValueType.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from ValueType.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

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.