PhaseCollection.Remove method
Removes the specified workflow phase from the collection.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Remove ( _
phase As Phase _
) As ClientResult(Of Boolean)
'Usage
Dim instance As PhaseCollection
Dim phase As Phase
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.Remove(phase)
[RemoteAttribute]
public ClientResult<bool> Remove(
Phase phase
)
Parameters
phase
Type: Microsoft.ProjectServer.Client.PhaseThe workflow phase to remove.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the object is removed from the collection; otherwise, False.