SSIS Components for Microsoft SharePoint

Build 25.0.9434

DeleteDocument

Deletes a document from a SharePoint document library. Helps in content cleanup and managing document lifecycle.

Input

Name Type Required Description
RelativePath String True The server-relative path of the document to be deleted. For example: '/Shared Documents/My Folder/My Document.txt'. Specifies the exact file location.
Permanently String False Indicates whether the document should be permanently deleted. If set to 'true', the document is permanently removed; if 'false', it is moved to the recycle bin for potential recovery.

The default value is false.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the document deletion operation was successful. Returns 'true' for success and 'false' for failure.
ErrorCode Integer If the procedure fails, this field displays the corresponding error code. Useful for debugging and troubleshooting.
ErrorMessage String If the procedure fails, this field provides a detailed error message explaining the failure. Helps diagnose document deletion issues.

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