共用方式為


IProjectFile.RunCodeAnalysis Property

Gets or sets the code analysis run type.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Property RunCodeAnalysis As CodeAnalysisRunType
CodeAnalysisRunType RunCodeAnalysis { get; set; }
property CodeAnalysisRunType RunCodeAnalysis {
    CodeAnalysisRunType get ();
    void set (CodeAnalysisRunType value);
}
abstract RunCodeAnalysis : CodeAnalysisRunType with get, set
function get RunCodeAnalysis () : CodeAnalysisRunType 
function set RunCodeAnalysis (value : CodeAnalysisRunType)

Property Value

Type: Microsoft.TeamFoundation.Build.Client.CodeAnalysisRunType
The code analysis run type.

Remarks

The value for the run type could be: always, default, or never.

.NET Framework Security

See Also

Reference

IProjectFile Interface

Microsoft.TeamFoundation.Build.Client Namespace