Location-Struktur
Represents the location of the source of the error in the Transact-SQL input files to the DAC compilation unit.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public Structure Location _
Implements IComparable(Of Location)
'Usage
Dim instance As Location
public struct Location : IComparable<Location>
public value class Location : IComparable<Location>
[<SealedAttribute>]
type Location =
struct
interface IComparable<Location>
end
JScript unterstützt die Verwendung von Strukturen, aber nicht die Deklaration neuer Strukturen.
Der Location-Typ macht folgende Elemente verfügbar.
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
ColumnNumber | Gets the column number of the location. |
![]() |
LineNumber | Gets the line number of the location. |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
CompareTo | Compares two Location objects and returns the difference in the line numbers. |
![]() |
Equals | (Geerbt von ValueType.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von ValueType.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
ToString | Returns a string representation of the location. (Überschreibt ValueType. . :: . .ToString() () () ().) |
Zum Anfang
Hinweise
If a compilation operation results in errors, the start and the end of the cause of the error are represented in this structure
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)
.gif)