TimeSheetWorkCollection.Remove method
Removes a specified actual work value from a timesheet.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Remove ( _
work As TimeSheetWork _
) As ClientResult(Of Boolean)
'Usage
Dim instance As TimeSheetWorkCollection
Dim work As TimeSheetWork
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.Remove(work)
[RemoteAttribute]
public ClientResult<bool> Remove(
TimeSheetWork work
)
Parameters
work
Type: Microsoft.ProjectServer.Client.TimeSheetWorkThe actual work element to remove.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the work element was removed; otherwise, False.