Share via


TSqlObject.GetSourceInformation Method

Definition

Gets the SourceInformation for this object, if this is available

public Microsoft.SqlServer.Dac.SourceInformation GetSourceInformation ();
member this.GetSourceInformation : unit -> Microsoft.SqlServer.Dac.SourceInformation
Public Function GetSourceInformation () As SourceInformation

Returns

If source information is available returns the SourceInformation specifying the name of the script this object is found in, plus start line and column. These values may be null or -1 if no source position information is present

Applies to