Share via


LocationOrientedSortableSession.MovePersonalTaskToLocation method

Moves a task to a new location.

Namespace:  Microsoft.SharePoint.WorkManagement.Client
Assembly:  Microsoft.SharePoint.WorkManagement.Client (in Microsoft.SharePoint.WorkManagement.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Overridable Function MovePersonalTaskToLocation ( _
    taskKey As Integer, _
    newLocationKey As Integer _
) As ClientResult(Of Boolean)
'Usage
Dim instance As LocationOrientedSortableSession
Dim taskKey As Integer
Dim newLocationKey As Integer
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.MovePersonalTaskToLocation(taskKey, _
    newLocationKey)
[RemoteAttribute]
public virtual ClientResult<bool> MovePersonalTaskToLocation(
    int taskKey,
    int newLocationKey
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
true if the operation succeeded; otherwise false.

See also

Reference

LocationOrientedSortableSession class

LocationOrientedSortableSession members

Microsoft.SharePoint.WorkManagement.Client namespace