CodeAnalysisService.Analyze(TSqlModel) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
CodeAnalysisResult describing the problems found and any errors that occurred during processing
Exceptions
If the model
is null