共用方式為


SourceAndSymbolServerSettings.IndexSources Property

Gets or sets a flag indicating whether to index sources.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property IndexSources As Boolean
[BrowsableAttribute(true)]
public bool IndexSources { get; set; }
[BrowsableAttribute(true)]
public:
property bool IndexSources {
    bool get ();
    void set (bool value);
}
[<BrowsableAttribute(true)>]
member IndexSources : bool with get, set
function get IndexSources () : boolean 
function set IndexSources (value : boolean)

Property Value

Type: System.Boolean
True to index sources; otherwise, false.

.NET Framework Security

See Also

Reference

SourceAndSymbolServerSettings Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace