Compartilhar via


Changeset.PolicyOverride Property

The policy override is used to record a failure of a policy when the client tried to checkin. Checkin's are not prevented and the client can override them, but must supply a reason why they were overridden.

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

Syntax

'Declaration
Public Property PolicyOverride As PolicyOverrideInfo
public PolicyOverrideInfo PolicyOverride { get; set; }
public:
property PolicyOverrideInfo^ PolicyOverride {
    PolicyOverrideInfo^ get ();
    void set (PolicyOverrideInfo^ value);
}
member PolicyOverride : PolicyOverrideInfo with get, set
function get PolicyOverride () : PolicyOverrideInfo 
function set PolicyOverride (value : PolicyOverrideInfo)

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Server.PolicyOverrideInfo
Returns PolicyOverrideInfo.

.NET Framework Security

See Also

Reference

Changeset Class

Microsoft.TeamFoundation.VersionControl.Server Namespace