CodeAnalysisServiceSettings Properties

 

Updated: April 20, 2017

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

NameDescription
System_CAPS_pubpropertyCodeAnalysisSucceededFile

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.

System_CAPS_pubpropertyResultsFile

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.

System_CAPS_pubpropertyRuleSettings

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.

System_CAPS_pubpropertyShouldSuppressProblem

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.

System_CAPS_pubpropertyValidationMode

Return to top
Show: