IBuildRequest.GatedCheckInTicket Property

Gets or sets an optional ticket that is issued by the server for gated check-in submissions.

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

Syntax

'Declaration
Property GatedCheckInTicket As String
string GatedCheckInTicket { get; set; }
property String^ GatedCheckInTicket {
    String^ get ();
    void set (String^ value);
}
abstract GatedCheckInTicket : string with get, set
function get GatedCheckInTicket () : String
function set GatedCheckInTicket (value : String)

Property Value

Type: System.String
An optional ticket that is issued by the server for gated check-in submissions.

Remarks

When a check-in is rejected because of Gated Check-in, a GatedCheckinException is thrown.

The gated check-in ticket is available on the exception and should be used when you submit the build request to the build system. By setting this property from the exception, you allow a rejected check-in to be queued by a user who does not have the appropriate permissions to perform the action under normal circumstances.

.NET Framework Security

See Also

Reference

IBuildRequest Interface

Microsoft.TeamFoundation.Build.Client Namespace