Excel Add-In for Microsoft SharePoint

Build 24.0.8963

DeleteDocument

Deletes a Document from the SharePoint document library.

Input

Name Type Description
RelativePath String The path of the document you want to delete relative to the URL specified in the connection property. For example: '/Shared Documents/My Folder/My Document.txt'.
Permanently Boolean Whether to delete the document permanently or just move it to the recycle bin. Default behavior is to move it to the recycle bin.

The default value is false.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.
ErrorCode Integer The error code in case the procedure is not executed successfully.
ErrorMessage String The error message in case the procedure is not executed successfully.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.8963