SqlRuleProblem Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SqlRuleProblem(String, TSqlObject) |
Constructs a new SqlRuleProblem. Source position information
(source name, start line and column) is inferred based on the |
SqlRuleProblem(String, TSqlObject, TSqlFragment) |
Constructs a new SqlRuleProblem. Source position information
(source name, start line and column) is inferred based on the |
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