共用方式為


GatedCheckinException.HasOverridePermission Property

Gets a flag that indicates whether the user that performed the check-in has the required permissions to override the gated check-in policy. This property is always valid.

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

Syntax

'Declaration
Public ReadOnly Property HasOverridePermission As Boolean
public bool HasOverridePermission { get; }
public:
property bool HasOverridePermission {
    bool get ();
}
member HasOverridePermission : bool with get
function get HasOverridePermission () : boolean

Property Value

Type: System.Boolean
True if the user that performed the check-in has the required permissions to override the gated check-in policy; otherwise, false.

.NET Framework Security

See Also

Reference

GatedCheckinException Class

Microsoft.TeamFoundation.VersionControl.Client Namespace