Struttura Location
Represents the location of the source of the error in the Transact-SQL input files to the DAC compilation unit.
Spazio dei nomi Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Sintassi
'Dichiarazione
Public Structure Location _
Implements IComparable(Of Location)
'Utilizzo
Dim instance As Location
public struct Location : IComparable<Location>
public value class Location : IComparable<Location>
[<SealedAttribute>]
type Location =
struct
interface IComparable<Location>
end
JScript supporta l'utilizzo di strutture, ma non la dichiarazione di nuove strutture.
Nel tipo Location sono esposti i membri seguenti.
Proprietà
| Nome | Descrizione | |
|---|---|---|
![]() |
ColumnNumber | Gets the column number of the location. |
![]() |
LineNumber | Gets the line number of the location. |
In alto
Metodi
| Nome | Descrizione | |
|---|---|---|
![]() |
CompareTo | Compares two Location objects and returns the difference in the line numbers. |
![]() |
Equals | Ereditato da ValueType. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetHashCode | Ereditato da ValueType. |
![]() |
GetType | Ereditato da Object. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
ToString | Returns a string representation of the location. Esegue l'override di ValueType. . :: . .ToString() () () (). |
In alto
Osservazioni
If a compilation operation results in errors, the start and the end of the cause of the error are represented in this structure
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
.gif)
.gif)
.gif)