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
assignment
Type: Microsoft.ProjectServer.Client.StatusAssignmentThe assignment to remove.
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