SqlRuleProblem.SetSourceInformation(SourceInformation) Method

Definition

Sets source position information (source name, start line and column) for this SqlRuleProblem, overriding any position information inferred when the rule was created.

public void SetSourceInformation (Microsoft.SqlServer.Dac.SourceInformation sourceInformation);
member this.SetSourceInformation : Microsoft.SqlServer.Dac.SourceInformation -> unit
Public Sub SetSourceInformation (sourceInformation As SourceInformation)

Parameters

sourceInformation
SourceInformation

SourceInformation specifying the values to set for the SourceName, StartLine and StartColumn fields

Applies to