Partager via


SqlRuleProblem Constructors

Definition

Overloads

SqlRuleProblem(String, TSqlObject)

Constructs a new SqlRuleProblem. Source position information (source name, start line and column) is inferred based on the modelElement parameter, as long as this information is present in the model.

SqlRuleProblem(String, TSqlObject, TSqlFragment)

Constructs a new SqlRuleProblem. Source position information (source name, start line and column) is inferred based on the modelElement and fragment parameters, as long as this information is present in the model.

SqlRuleProblem(String, TSqlObject)

Constructs a new SqlRuleProblem. Source position information (source name, start line and column) is inferred based on the modelElement parameter, as long as this information is present in the model.

public SqlRuleProblem (string description, Microsoft.SqlServer.Dac.Model.TSqlObject modelElement);
new Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem : string * Microsoft.SqlServer.Dac.Model.TSqlObject -> Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem
Public Sub New (description As String, modelElement As TSqlObject)

Parameters

description
String

Description of the problem

modelElement
TSqlObject

The element that caused the problem

Applies to

SqlRuleProblem(String, TSqlObject, TSqlFragment)

Constructs a new SqlRuleProblem. Source position information (source name, start line and column) is inferred based on the modelElement and fragment parameters, as long as this information is present in the model.

public SqlRuleProblem (string description, Microsoft.SqlServer.Dac.Model.TSqlObject modelElement, Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment fragment);
new Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem : string * Microsoft.SqlServer.Dac.Model.TSqlObject * Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment -> Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem
Public Sub New (description As String, modelElement As TSqlObject, fragment As TSqlFragment)

Parameters

description
String

Description of the problem

modelElement
TSqlObject

The element that caused the problem

fragment
TSqlFragment

TSqlFragment specifying the precise

Applies to