Condividi tramite


Classe SourceInfo

The SourceInfo class represents a location in a DAC source file that has thrown an exception.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..SourceInfo

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

'Dichiarazione
Public Class SourceInfo
'Utilizzo
Dim instance As SourceInfo
public class SourceInfo
public ref class SourceInfo
type SourceInfo =  class end
public class SourceInfo

Nel tipo SourceInfo sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica End Gets the line and column number of the end location in the source file in which an exception was thrown.
Proprietà pubblica Filename Gets the name of source file in which the exception was thrown.
Proprietà pubblica Start Gets the line and column numbers of the start location in the source file in which an exception was thrown.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

This class defines properties that get information about the specific points in the source file that triggered the exception.

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.