Структура Location
Represents the location of the source of the error in the Transact-SQL input files to the DAC compilation unit.
Пространство имен: Microsoft.SqlServer.Management.Dac
Сборка: Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)
Синтаксис
'Декларация
Public Structure Location _
Implements IComparable(Of Location)
'Применение
Dim instance As Location
public struct Location : IComparable<Location>
public value class Location : IComparable<Location>
[<SealedAttribute>]
type Location =
struct
interface IComparable<Location>
end
JScript поддерживает использование структур, но не объявление новых.
Тип Location обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
![]() |
ColumnNumber | Gets the column number of the location. |
![]() |
LineNumber | Gets the line number of the location. |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
CompareTo | Compares two Location objects and returns the difference in the line numbers. |
![]() |
Equals | (Производный от ValueType.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от ValueType.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | Returns a string representation of the location. (Переопределяет ValueType. . :: . .ToString() () () ().) |
В начало
Замечания
If a compilation operation results in errors, the start and the end of the cause of the error are represented in this structure
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.