Share via


SqlStaticCodeAnalysisTask Members

Include Protected Members
Include Inherited Members

Represents a Sql static code analysis task.

The SqlStaticCodeAnalysisTask type exposes the following members.

Constructors

 

Name

Description

Public method

SqlStaticCodeAnalysisTask

Initializes a new instance of the SqlStaticCodeAnalysisTask class.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Public method

Execute

Returns the result of code analysis task execution. (Overrides StaticCodeAnalysisTask.Execute().)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnAddProperties

(Overrides StaticCodeAnalysisTask.OnAddProperties(Dictionary<String, String>).)

Protected method

SuppressErrorCallback

Specifies whether to suppress error callback using the specified element and rule. (Overrides StaticCodeAnalysisTask.SuppressErrorCallback(IModelElement, Rule).)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

AllowDatabaseObjects

Gets or sets the allow database objects string.

Public property

AllowServerObjects

Gets or sets the allow server objects string.

Public property

BuildEngine

Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.)

Public property

BuildEngine2

Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.)

Public property

CatalogPropertiesFile

Gets or sets the catalog properties file string. (Inherited from StaticCodeAnalysisTask.)

Public property

CodeAnalysisRules

Gets or sets the code analysis rules string. (Inherited from StaticCodeAnalysisTask.)

Public property

DatabaseSchemaProviderName

Gets or sets the database schema provider name. (Inherited from StaticCodeAnalysisTask.)

Protected property

ErrorsFromOtherComponents

Gets or sets a list of errors from other components. (Inherited from StaticCodeAnalysisTask.)

Public property

GenerateAnalysisLog

Gets or sets whether to generate an analysis log. (Inherited from StaticCodeAnalysisTask.)

Protected property

HelpKeywordPrefix

Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.)

Public property

HostObject

Gets or sets the host object associated with the task. (Inherited from Task.)

Public property

Log

Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.)

Public property

ModelCollation

(Inherited from StaticCodeAnalysisTask.)

Public property

ProjectFolder

Gets or sets the project folder string.

Public property

ReferencePath

Gets or sets an array of reference path tasks. (Inherited from StaticCodeAnalysisTask.)

Public property

ResultsFile

Gets or sets an array of results file tasks. (Inherited from StaticCodeAnalysisTask.)

Public property

ServerPropertiesFile

Gets or sets the server properties file string. (Inherited from StaticCodeAnalysisTask.)

Public property

Source

Gets or sets an array of source task items. (Inherited from StaticCodeAnalysisTask.)

Public property

SuppressWarnings

Gets or sets the suppress warnings string. (Inherited from StaticCodeAnalysisTask.)

Protected property

TaskResources

Gets or sets the culture-specific resources associated with the task. (Inherited from Task.)

Public property

TreatWarningsAsErrors

Gets or sets whether to treat warnings as errors. (Inherited from StaticCodeAnalysisTask.)

Top

See Also

Reference

SqlStaticCodeAnalysisTask Class

Microsoft.Data.Schema.Tasks Namespace