Share via


StatusAssignmentCollection.Remove method

Removes the specified assignment from the collection.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function Remove ( _
    assignment As StatusAssignment _
) As ClientResult(Of Boolean)
'Usage
Dim instance As StatusAssignmentCollection
Dim assignment As StatusAssignment
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.Remove(assignment)
[RemoteAttribute]
public ClientResult<bool> Remove(
    StatusAssignment assignment
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the object is removed from the collection; otherwise, False.

Remarks

The Remove method sets the remaining work on the assignment to 0. The status manager still needs to approve the update.

See also

Reference

StatusAssignmentCollection class

StatusAssignmentCollection members

Microsoft.ProjectServer.Client namespace