ADO.NET Provider for Microsoft OneDrive

Build 25.0.9434

RenameResource

Changes the name of a specified file or folder in OneDrive without affecting its contents or location.

Input

Name Type Required Description
ResourceId String True Unique identifier of the resource to be renamed.
Name String True New name to assign to the resource.
DriveId String False ID of the drive where the resource is located. Specify this only if the resource is not in the current user's default drive.

Result Set Columns

Name Type Description
Success String Indicates whether the rename operation was successful. Returns success status or error details.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434