Click or drag to resize

SolutionUnassignJobPart Method (Resource, JobPart)

Un-assigns a JobPart from a Resource's route.

Namespace:  VRSolver
Assembly:  VRSolver (in VRSolver.dll) Version: 1.13.0.0
Syntax
public bool UnassignJobPart(
	Resource resource,
	JobPart jobPart
)

Parameters

resource
Type: VRSolverResource
The Resource to un-assign from.
jobPart
Type: VRSolverJobPart
The JobPart to un-assign.

Return Value

Type: Boolean
False if the JobPart could not be un-assigned. True otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionResource is null.
ArgumentNullExceptionJobPart is null.
ArgumentExceptionResource does not exist in the Problem.
ArgumentExceptionJobPart is not assigned to this resource.
ArgumentExceptionCannot un-assign the Resource's starting location.
ArgumentExceptionCannot un-assign the Resource's end location.
See Also

www.routingautomation.com | support