DownloadAttachment
SharePoint リストからドキュメントをダウンロードします。
Stored Procedure Specific Information
Insert
RemoteFile can be both relative to the server, or it can be the full URL of the file. Below are some examples:
EXECUTE DownloadAttachment File = 'C:/Users/User/Desktop/DownloadedFile.txt', RemoteFile = 'https://mysite.sharepoint.com/Lists/MyCustomList/Attachments/1/FileToDownload.txt'; EXECUTE DownloadAttachment File = 'C:/Users/User/Desktop/DownloadedFile.txt', RemoteFile = '/Lists/MyCustomList/Attachments/1/FileToDownload.txt';
Input
Name | Type | Description |
File | String | 保存されるファイルのパス。新しいファイル名を含める必要があります。例えば、'C:/Users/User/Desktop/DownloadedFile.txt' です。 |
RemoteFile | String | サーバー上のファイルのパス。これには、完全URLまたはサーバーへの相対パスを指定することができます。 |
Result Set Columns
Name | Type | Description |
Result | String | 操作が成功したかどうかを示すBoolean値。 |