Поделиться через


Структура TSqlCompilationError

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

Пространство имен:  Microsoft.SqlServer.Management.Dac
Сборка:  Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)

Синтаксис

'Декларация
Public Structure TSqlCompilationError
'Применение
Dim instance As TSqlCompilationError
public struct TSqlCompilationError
public value class TSqlCompilationError
[<SealedAttribute>]
type TSqlCompilationError =  struct end
JScript поддерживает использование структур, но не объявление новых.

Тип TSqlCompilationError обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство End Gets the end location of the error in the source file.
Открытое свойство FileName Gets the name of the source file in which the error occurred.
Открытое свойство IsWarning Gets a value that specifies whether the error is an exception, or if it is just a warning.
Открытое свойство Message Gets the error message from the exception.
Открытое свойство Start Gets the start location of the error in the source file.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от ValueType.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от ValueType.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от ValueType.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.