Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SourceInfo Class

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

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

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.

  NameDescription
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.
Top
  NameDescription
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.)
Top

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.