CodeAnalysisResult CodeAnalysisResult CodeAnalysisResult Class

Definition

The results of Code Analysis against a particular model. Will include any SqlRuleProblems found, in addition to any errors that occurred during analysis

public sealed class CodeAnalysisResult
type CodeAnalysisResult = class
Public NotInheritable Class CodeAnalysisResult
Inheritance
CodeAnalysisResultCodeAnalysisResultCodeAnalysisResult

Constructors

CodeAnalysisResult() CodeAnalysisResult() CodeAnalysisResult()

Creates a CodeAnalysisResult

Properties

AnalysisErrors AnalysisErrors AnalysisErrors

Errors and messages that occurred during analysis.

AnalysisSucceeded AnalysisSucceeded AnalysisSucceeded

Was analysis completed successfully? Analysis may fail for a number of reasons, for instance if errors already exist in the model before processing.

InitializationErrors InitializationErrors InitializationErrors

Gets errors that occurred during initialization of code analysis, rule lookup, and anything other than the analysis itself.

Problems Problems Problems

Any problems discovered by the rules run during code analysis

SuppressionErrors SuppressionErrors SuppressionErrors

Gets errors that occurred during calling of the message suppression routine.

Methods

GetAllErrors() GetAllErrors() GetAllErrors()

Gets all errors, whether during initialization or during the analysis process. This does not include the Problems found during analysis since these are returned separately.

SerializeResultsToXml(Stream) SerializeResultsToXml(Stream) SerializeResultsToXml(Stream)

Serializes the results in XML format to an output stream. For backwards compatibility

Only the problems discovered during analysis are output. No errors that occurred during the analysis process will be output.

SerializeResultsToXml(String) SerializeResultsToXml(String) SerializeResultsToXml(String)

Serializes the results in XML format to an output file.

Only the problems discovered during analysis are output. No errors that occurred during the analysis process will be output.

Applies to