SSIS Components for Microsoft SharePoint

Build 24.0.9175

RenameAttachmentOrDocument

Renames a document or attachment.

Execute

The path specified in SourceFileURL must be relative to what you have used in RSBSharePoint_p_URL. Refer to the query example below:

/* URL = https://mysite.sharepoint.com/sites/Subsite */
EXEC RenameAttachmentOrDocument SourceFileURL = '/Shared Documents/Source Folder/Subfolder/Original Document.txt', NewFileName = 'Renamed Document.txt';

Input

Name Type Required Description
SourceFileURL String True The path of the file you want to rename, relative to the base RSBSharePoint_p_URL supplied in the 本製品's connection properties.
NewFileName String True The new name of the file, with a file extension.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.

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