ADO.NET Provider for Azure DevOps

Build 24.0.9175

DownloadPullRequestAttachment

Download Pull Request Attachment.

Input

Name Type Required Accepts Output Streams Description
ProjectId String False False Id of the project.
RepositoryId String True False Id of the repository.
PullRequestId Integer True False Id of the pull request.
FileName String True False Name of the attachment.
FileLocation String False False Location of the file. Cannot include the file name.
Encoding String False False The FileData input encoding type.

The allowed values are NONE, BASE64.

The default value is BASE64.

FileStream String False True An instance of an output stream where file data is written to. Only used if FileLocation is not provided.

Result Set Columns

Name Type Description
Status String Stored procedure execution status.
FileData String If the FileLocation and FileStream are not provided, this contains the content of the file.

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