Partager via


SqlAnalysisRule.Analyze(SqlRuleExecutionContext) Method

Definition

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

Applies to