CodeAnalysisService.Analyze(TSqlModel) CodeAnalysisService.Analyze(TSqlModel) CodeAnalysisService.Analyze(TSqlModel) Method

Definition

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

public Microsoft.SqlServer.Dac.CodeAnalysis.CodeAnalysisResult Analyze (Microsoft.SqlServer.Dac.Model.TSqlModel model);
member this.Analyze : Microsoft.SqlServer.Dac.Model.TSqlModel -> Microsoft.SqlServer.Dac.CodeAnalysis.CodeAnalysisResult
Public Function Analyze (model As TSqlModel) As CodeAnalysisResult

Parameters

model
TSqlModel TSqlModel TSqlModel

The TSqlModel to be analyzed

Returns

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

Exceptions

Applies to