Share via


SourceInfo Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Class SourceInfo
'Usage
Dim instance As SourceInfo
public class SourceInfo
public ref class SourceInfo
type SourceInfo =  class end
public class SourceInfo

The SourceInfo type exposes the following members.

Properties

  Name Description
Public property End Gets the line and column number of the end location in the source file in which an exception was thrown.
Public property Filename Gets the name of source file in which the exception was thrown.
Public property Start Gets the line and column numbers of the start location in the source file in which an exception was thrown.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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

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.