IPWorks Cloud 2020 .NET Edition

Questions / Feedback?

MoveResource Method

Moves a resource.

Syntax

public void MoveResource(string resourceId, string parentId, string newName);
Public Sub MoveResource(ByVal ResourceId As String, ByVal ParentId As String, ByVal NewName As String)

Remarks

This method moves the resource specified by ResourceId to the folder specified by ParentId.

NewName specifies the new name of the resource; if empty, the resource's original name is used. ParentId can also be empty, in which case the resource is moved to the root folder.

NewName must be no longer than 255 characters; may not contain /, \, non-printable ASCII characters, or trailing whitespace; and cannot be one of the special names . or ...

When moving a folder that contains many items, keep in mind that Box always performs move operations synchronously (whereas copy operations are performed asynchronously for folders that contain more than 500 items). This method will block until the move operation completes, unless the component times out the request based on the current value of Timeout.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 .NET Edition - Version 20.0 [Build 8265]