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
taskKey
Type: System.Int32ID of the task.
newLocationKey
Type: System.Int32ID of the new location.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
true if the operation succeeded; otherwise false.
See also
Reference
LocationOrientedSortableSession class