CodeAnalysisServiceSettings Properties
Updated: April 20, 2017
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
| Name | Description | |
|---|---|---|
![]() | CodeAnalysisSucceededFile | Optional path to a file that is created if analysis succeeds. This can be used to check whether analysis should be run or not - for instance if analyzing a dacpac, comparing the modification time for the dacpac versus the analysis success file can tell you whether the dacpac is more recent than the last analysis. This property directly maps to CodeAnalysisSucceededFile. |
![]() | ResultsFile | Optional path to a results file. If this is specified, the analysis service will save all results to an XML file at the end of analysis. If no file path is specified then this will not be done automatically, but SerializeResultsToXml can be used to output the results after analysis has completed. This property directly maps to ResultsFile. |
![]() | RuleSettings | Optional rule settings define what rules should be run during analysis and the severity of the problems created. If no CodeAnalysisRuleSettings are specified the default behavior is to run all discovered rules. This property is applied using ApplyRuleSettings. |
![]() | ShouldSuppressProblem | An optional predicate that can be used to suppress problems raised by rules during analysis. See SetProblemSuppressor for more information. This property is applied using SetProblemSuppressor. |
![]() | ValidationMode |
