Поделиться через


IPolicyEvaluation.Evaluate Method

Evaluates the policy and returns an array of failures, if any occur. Returns an empty list if no failures occur.

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

Syntax

'Declaration
Function Evaluate As PolicyFailure()
PolicyFailure[] Evaluate()
array<PolicyFailure^>^ Evaluate()
abstract Evaluate : unit -> PolicyFailure[] 
function Evaluate() : PolicyFailure[]

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure[]
An array of failures for this policy.

.NET Framework Security

See Also

Reference

IPolicyEvaluation Interface

Microsoft.TeamFoundation.VersionControl.Client Namespace