共用方式為


CheckInParameters.OverrideGatedCheckIn Property

Gets or sets a flag describing whether to override a gated check-in.

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

Syntax

'宣告
Public Property OverrideGatedCheckIn As Boolean
    Get
    Set
public bool OverrideGatedCheckIn { get; set; }
public:
property bool OverrideGatedCheckIn {
    bool get ();
    void set (bool value);
}
member OverrideGatedCheckIn : bool with get, set
function get OverrideGatedCheckIn () : boolean
function set OverrideGatedCheckIn (value : boolean)

Property Value

Type: System.Boolean
True to override gated check-in; otherwise false.

Remarks

To successfully override a gated check-in, the user must have the OverrideBuildCheckInValidation permission on all gated build definitions affected by the check-in.

.NET Framework Security

See Also

Reference

CheckInParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace