SqlAnalysisRule.Analyze(SqlRuleExecutionContext) Method

Definition

Performs analysis and returns a list of problems detected

C#
public abstract System.Collections.Generic.IList<Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem> Analyze(Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleExecutionContext ruleExecutionContext);

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

Product Versions
Microsoft.Data.Tools.Msbuild 10.0.61804.210