CodeAnalysisServiceFactory CodeAnalysisServiceFactory CodeAnalysisServiceFactory Class

Definition

Factory class that supports creation of CodeAnalysisService objects.

public sealed class CodeAnalysisServiceFactory
type CodeAnalysisServiceFactory = class
Public NotInheritable Class CodeAnalysisServiceFactory
Inheritance
CodeAnalysisServiceFactoryCodeAnalysisServiceFactoryCodeAnalysisServiceFactory

Constructors

CodeAnalysisServiceFactory() CodeAnalysisServiceFactory() CodeAnalysisServiceFactory()

Methods

CreateAnalysisService(SqlServerVersion) CreateAnalysisService(SqlServerVersion) CreateAnalysisService(SqlServerVersion)

Creates an analysis service with the standard properties and all rules turned on by default.

CreateAnalysisService(TSqlModel) CreateAnalysisService(TSqlModel) CreateAnalysisService(TSqlModel)

Creates an analysis service with the standard properties and all rules turned on by default.

This is a convenience method that takes the Version from the model and passes it to the CreateAnalysisService(SqlServerVersion) method.

CreateAnalysisService(SqlServerVersion, CodeAnalysisServiceSettings) CreateAnalysisService(SqlServerVersion, CodeAnalysisServiceSettings) CreateAnalysisService(SqlServerVersion, CodeAnalysisServiceSettings)

Creates an analysis service and configures it using the settings passed to the method.

The settings are a convenient way to set up the service in one step, but if you wish to specify some settings after creating the service this is possible via methods and properties on the CodeAnalysisService itself.

CreateAnalysisService(TSqlModel, CodeAnalysisServiceSettings) CreateAnalysisService(TSqlModel, CodeAnalysisServiceSettings) CreateAnalysisService(TSqlModel, CodeAnalysisServiceSettings)

Creates an analysis service and configures it using the settings passed to the method.

The settings are a convenient way to set up the service in one step, but if you wish to specify some settings after creating the service this is possible via methods and properties on the CodeAnalysisService itself.

This is a convenience method that takes the Version from the model and passes it to the CreateAnalysisService(SqlServerVersion) method.

Applies to