Location Structure
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
'Declaração
Public Structure Location _
Implements IComparable(Of Location)
'Uso
Dim instance As Location
public struct Location : IComparable<Location>
public value class Location : IComparable<Location>
[<SealedAttribute>]
type Location =
struct
interface IComparable<Location>
end
JScript suports the use of structures, but not the declaration of new ones.
The Location type exposes the following members.
Properties
Name | Description | |
---|---|---|
ColumnNumber | Gets the column number of the location. | |
LineNumber | Gets the line number of the location. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | Compares two Location objects and returns the difference in the line numbers. | |
Equals | (Inherited from ValueType.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from ValueType.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns a string representation of the location. (Overrides ValueTypeToString().) |
Top
Remarks
If a compilation operation results in errors, the start and the end of the cause of the error are represented in this structure
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.