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
‘선언
Property GetOption As GetOption
Get
Set
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.