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
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)