CodeAnalysisServiceFactory Class
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.
Factory class that supports creation of CodeAnalysisService objects.
public sealed class CodeAnalysisServiceFactory
type CodeAnalysisServiceFactory = class
Public NotInheritable Class CodeAnalysisServiceFactory
- Inheritance
-
CodeAnalysisServiceFactory
Constructors
CodeAnalysisServiceFactory() |
Methods
CreateAnalysisService(SqlServerVersion) |
Creates an analysis service with the standard properties and all rules turned on by default. |
CreateAnalysisService(SqlServerVersion, CodeAnalysisServiceSettings) |
Creates an analysis service and configures it using the 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) |
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(TSqlModel, CodeAnalysisServiceSettings) |
Creates an analysis service and configures it using the 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. |