CodeAnalysisResult Class

SQL Server 2014
 

Updated: April 20, 2017

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

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

System::Object
  Microsoft.SqlServer.Dac.CodeAnalysis::CodeAnalysisResult

public ref class CodeAnalysisResult sealed 

NameDescription
System_CAPS_pubmethodCodeAnalysisResult()

Creates a CodeAnalysisResult class.

NameDescription
System_CAPS_pubpropertyAnalysisErrors

Gets the errors and messages that occurred during analysis.

System_CAPS_pubpropertyAnalysisSucceeded

Gets a value that indicates whether the analysis was completed successfully.

System_CAPS_pubpropertyInitializationErrors

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

System_CAPS_pubpropertyProblems

Gets the problems discovered by the rules run during code analysis.

System_CAPS_pubpropertySuppressionErrors

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

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetAllErrors()

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.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSerializeResultsToXml(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.

System_CAPS_pubmethodSerializeResultsToXml(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.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: