Structure Location
Represents the location of the source of the error in the Transact-SQL input files to the DAC compilation unit.
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'Déclaration
Public Structure Location _
Implements IComparable(Of Location)
'Utilisation
Dim instance As Location
public struct Location : IComparable<Location>
public value class Location : IComparable<Location>
[<SealedAttribute>]
type Location =
struct
interface IComparable<Location>
end
JScript prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.
Le type Location expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
![]() |
ColumnNumber | Gets the column number of the location. |
![]() |
LineNumber | Gets the line number of the location. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
CompareTo | Compares two Location objects and returns the difference in the line numbers. |
![]() |
Equals | (hérité de ValueType.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetHashCode | (hérité de ValueType.) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | Returns a string representation of the location. (remplace ValueType. . :: . .ToString() () () ().) |
Haut de la page
Notes
If a compilation operation results in errors, the start and the end of the cause of the error are represented in this structure
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.