Activities
latest
false
Productivity Activities
Last updated Jul 1, 2024

MoveFolder

Moves a folder to the specified destination folder in OneDrive or SharePoint.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Syntax

IFolder MoveFolder(
	IFolder folder,
	IFolder destination = null,
	string newName = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.Fail
)IFolder MoveFolder(
	IFolder folder,
	IFolder destination = null,
	string newName = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.Fail
)

Parameters

folder IFolder
The folder to move.
destination IFolder (Optional)
The destination folder where to move the specified folder. If not specified, it defaults to OneDrive root folder.
newName String (Optional)
An optional new name given to the folder after it is moved. If left blank, it retains the original name.
conflictBehavior ConflictBehavior (Optional)
What is the expected behavior when a folder with the same name already exists in the destination folder.

Return value

IFolder - The moved folder.
  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.