SqlAnalysisRule.Analyze(SqlRuleExecutionContext) Method
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.
Performs analysis and returns a list of problems detected
public abstract System.Collections.Generic.IList<Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem> Analyze (Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleExecutionContext ruleExecutionContext);
abstract member Analyze : Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleExecutionContext -> System.Collections.Generic.IList<Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem>
Public MustOverride Function Analyze (ruleExecutionContext As SqlRuleExecutionContext) As IList(Of SqlRuleProblem)
Parameters
- ruleExecutionContext
- SqlRuleExecutionContext
Contains the schema model and model element to analyze
Returns
The problems detected by the rule in the given element