Share via


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

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the work element was removed; otherwise, False.

See also

Reference

TimeSheetWorkCollection class

TimeSheetWorkCollection members

Microsoft.ProjectServer.Client namespace