Cmdlets for Azure DevOps

Build 24.0.9060

DownloadPullRequestAttachment

Download Pull Request attachment.

Input

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

The allowed values are NONE, BASE64.

The default value is BASE64.

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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060