Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the static code analysis task.
Inheritance Hierarchy
System.Object
Microsoft.Build.Utilities.Task
Microsoft.Data.Schema.Tasks.DataTask
Microsoft.Data.Schema.Tasks.StaticCodeAnalysisTask
Microsoft.Data.Schema.Tasks.Sql.SqlStaticCodeAnalysisTask
Namespace: Microsoft.Data.Schema.Tasks
Assembly: Microsoft.Data.Schema.Tasks (in Microsoft.Data.Schema.Tasks.dll)
Syntax
'Declaration
Public Class StaticCodeAnalysisTask _
Inherits DataTask
public class StaticCodeAnalysisTask : DataTask
public ref class StaticCodeAnalysisTask : public DataTask
type StaticCodeAnalysisTask =
class
inherit DataTask
end
public class StaticCodeAnalysisTask extends DataTask
The StaticCodeAnalysisTask type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
StaticCodeAnalysisTask | Initializes a new instance of the StaticCodeAnalysisTask class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
BuildEngine | Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.) |
![]() |
BuildEngine2 | Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.) |
![]() |
BuildEngine3 | Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.) |
![]() |
CatalogPropertiesFile | Gets or sets the catalog properties file string. |
![]() |
CodeAnalysisRules | Gets or sets the code analysis rules string. |
![]() |
DatabaseSchemaProviderName | Gets or sets the database schema provider name. |
![]() |
HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.) |
![]() |
HostObject | Gets or sets the host object associated with the task. (Inherited from Task.) |
![]() |
IsCanceled | Gets a value that indicates whether the task was canceled. (Inherited from DataTask.) |
![]() |
Log | Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.) |
![]() |
ModelCollation | Gets or sets the task host loader model collation string. |
![]() |
ReferencePath | Gets or sets an array of reference path tasks. |
![]() |
ResultsFile | Gets or sets an array of results file tasks. |
![]() |
ServerPropertiesFile | Gets or sets the server properties file string. |
![]() |
Source | Gets or sets an array of source task items. |
![]() |
StaticCodeAnalysisSucceededFile | |
![]() |
SuppressWarnings | Gets or sets the suppress warnings string. |
![]() |
TaskResources | Gets or sets the culture-specific resources associated with the task. (Inherited from Task.) |
![]() |
TreatWarningsAsErrors | Gets or sets whether to treat warnings as errors. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Execute | Returns the result of code analysis execution. (Overrides Task.Execute().) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
InitializeMessageSuppression | |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnAddProperties | |
![]() |
OnStart | |
![]() |
ReportError | |
![]() |
ReportSuppressionError | |
![]() |
SuppressProblemCallback | |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
WriteError | Outputs the specified error. (Inherited from DataTask.) |
![]() |
WriteErrors(String, ICollection<DataSchemaError>) | Outputs the specified list of errors. (Inherited from DataTask.) |
![]() |
WriteErrors(String, ErrorManager, Object) | Outputs the errors that are contained in the list of error categories. (Inherited from DataTask.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
Canceled | Raised when the event is canceled. (Inherited from DataTask.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ICancelableTask.Cancel | Cancels the active operation. (Inherited from DataTask.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.