CodeAnalysisService::Analyze Method (TSqlModel^)

SQL Server 2014
 

Updated: April 20, 2017

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

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

public:
CodeAnalysisResult^ Analyze(
	TSqlModel^ model
)

Parameters

model
Type: Microsoft.SqlServer.Dac.Model::TSqlModel^

The TSqlModel to be analyzed

Return Value

Type: Microsoft.SqlServer.Dac.CodeAnalysis::CodeAnalysisResult^

CodeAnalysisResult describing the problems found and any errors that occurred during processing

Exception Condition
ArgumentNullException

If the model is null

Return to top

Community Additions

ADD
Show: