DraftAssignmentCollection.Remove method
Removes the specified draft 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 DraftAssignment _
) As ClientResult(Of Boolean)
'Usage
Dim instance As DraftAssignmentCollection
Dim assignment As DraftAssignment
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.Remove(assignment)
[RemoteAttribute]
public ClientResult<bool> Remove(
DraftAssignment assignment
)
Parameters
assignment
Type: Microsoft.ProjectServer.Client.DraftAssignmentThe draft assignment to remove.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the object is removed from the collection; otherwise, False.
See also
Reference
DraftAssignmentCollection class