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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.