Export (0) Print
Expand All

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)

public struct Location : IComparable<Location>

The Location type exposes the following members.

  NameDescription
Public propertyColumnNumberGets the column number of the location.
Public propertyLineNumberGets the line number of the location.
Top

  NameDescription
Public methodCompareToCompares two Location objects and returns the difference in the line numbers.
Public methodEquals (Inherited from ValueType.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string representation of the location. (Overrides ValueType.ToString().)
Top

If a compilation operation results in errors, the start and the end of the cause of the error are represented in this structure

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft