共用方式為


PolicyList.Evaluate Method

Evaluates the policies for the current list of pending changes.

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

Syntax

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

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure[]
The array of failures that occurred during evaluation.

.NET Framework Security

See Also

Reference

PolicyList Class

Microsoft.TeamFoundation.VersionControl.Client Namespace