Export (0) Print
Expand All

SourceInfo Class

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


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

public class SourceInfo

The SourceInfo type exposes the following members.

Public propertyEndGets the line and column number of the end location in the source file in which an exception was thrown.
Public propertyFilenameGets the name of source file in which the exception was thrown.
Public propertyStartGets the line and column numbers of the start location in the source file in which an exception was thrown.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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

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
© 2015 Microsoft