This documentation is archived and is not being maintained.

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)

property GetOption GetOption {
	GetOption get ();
	void set (GetOption value);
}

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: