CodeAnalysisService Methods

 

Updated: April 20, 2017

Namespace:   Microsoft.SqlServer.Dac.CodeAnalysis
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

NameDescription
System_CAPS_pubmethodAnalyze(TSqlModel^)

Performs the analysis of the model. This will initialize all required resources, run analysis and report back results to the caller. If the ResultsFile and/or CodeAnalysisSucceededFile are specified then these will be deleted at the start of the analysis, and new files created at the end of the analysis

System_CAPS_pubmethodApplyRuleSettings(CodeAnalysisRuleSettings^)

Applies the specified rule settings against the service's configuration.

System_CAPS_pubmethodCancel()

Cancels execution of the analysis service

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetRuleLoadErrors()

Gets any errors that may have occurred during loading of the analysis rules. This causes rules to be loaded by the service.

System_CAPS_pubmethodGetRules()

Gets the rules loaded by the service. The current state of these rules (enabled, disabled, rule problem severity) can be queried, as can information about the rule such as its ID and metadata.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSetProblemSuppressor(Predicate<SqlRuleProblemSuppressionContext^>^)

Sets the problem suppression predicate to be applied when suppressing rules. This is an optional feature that supports ignoring problems raised by a rule. The problem might be suppressed based on the element the problem was raised against, or the source that the problem was found in.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Return to top
Show: