Share via


PolicyFailure.Policy Property

Gets the policy with which this failure is associated.

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

Syntax

'Declaration
Public ReadOnly Property Policy As IPolicyEvaluation
public IPolicyEvaluation Policy { get; }
public:
property IPolicyEvaluation^ Policy {
    IPolicyEvaluation^ get ();
}
member Policy : IPolicyEvaluation with get
function get Policy () : IPolicyEvaluation

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Client.IPolicyEvaluation
The policy with which this failure is associated.

Remarks

May be null if the policy did not load.

.NET Framework Security

See Also

Reference

PolicyFailure Class

Microsoft.TeamFoundation.VersionControl.Client Namespace