Share via


PolicyList.ReloadAndEvaluate Method

Reloads the policies and 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 ReloadAndEvaluate As PolicyFailure()
public PolicyFailure[] ReloadAndEvaluate()
public:
array<PolicyFailure^>^ ReloadAndEvaluate()
member ReloadAndEvaluate : unit -> PolicyFailure[] 
public function ReloadAndEvaluate() : 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