ADO.NET Provider for Microsoft SharePoint

Build 24.0.9175

AddAttachment

Adds an attachment into a sharepoint list.

Input

Name Type Required Accepts Input Streams Description
ListTitle String True False Title of the list item.
ItemId String True False Id of the list item.
FileName String True False The name of the file to be added to the document library
InputFilePath String False False The location of the file to be attached.
Content String False True The content as InputStream to be uploaded when InputFilePath is not specified.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.
RelativeUrl String The relative URL of the attachment that has been added.

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