DraftProjectResourceCollection.Remove method
Removes the specified draft project resource from the collection.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Remove ( _
resource As DraftProjectResource _
) As ClientResult(Of Boolean)
'Usage
Dim instance As DraftProjectResourceCollection
Dim resource As DraftProjectResource
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.Remove(resource)
[RemoteAttribute]
public ClientResult<bool> Remove(
DraftProjectResource resource
)
Parameters
resource
Type: Microsoft.ProjectServer.Client.DraftProjectResourceThe draft project resource to remove.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the object is removed from the collection; otherwise, False.
See also
Reference
DraftProjectResourceCollection class