Export (0) Print
Expand All

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)

GetOption GetOption { get; set; }

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'.

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.

Show:
© 2015 Microsoft