Поделиться через


IBuildRequest.GetOption Property

Gets or sets the time for which sources should be retrieved for the requested build.

Valid settings are 'LatestOnQueue', 'LatestOnBuild', or 'Custom'.

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

Syntax

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

Property Value

Type: Microsoft.TeamFoundation.Build.Client.GetOption
The time for which sources should be retrieved for the requested build.
Valid settings are 'LatestOnQueue', 'LatestOnBuild', or 'Custom'.

Remarks

LatestOnQueue: Gets the latest sources as of the time the build was queued.

LatestOnBuild: Gets the latest sources as of the time the build started.

Custom: If you set this to custom, you must specify a valid VersionSpec in the CustomGetVersion field.

.NET Framework Security

See Also

Reference

IBuildRequest Interface

Microsoft.TeamFoundation.Build.Client Namespace