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)