CodeAnalysisService Methods
Updated: April 20, 2017
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
| Name | Description | |
|---|---|---|
![]() | Analyze(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 |
![]() | ApplyRuleSettings(CodeAnalysisRuleSettings^) | Applies the specified rule settings against the service's configuration. |
![]() | Cancel() | Cancels execution of the analysis service |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetRuleLoadErrors() | Gets any errors that may have occurred during loading of the analysis rules. This causes rules to be loaded by the service. |
![]() | GetRules() | 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. |
![]() | GetType() | (Inherited from Object.) |
![]() | SetProblemSuppressor(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. |
![]() | ToString() | (Inherited from Object.) |
