AzureDevOpsPullRequest.

GetCommits() Method

Summary

Gets the commits contained in the pull request.

Syntax

public IEnumerable<AzureDevOpsCommit> GetCommits()

Return Value

Type Description
IEnumerable<AzureDevOpsCommit> The commits contained in the pull request or an empty list if no pull request could be found and ThrowExceptionIfPullRequestCouldNotBeFound is set to false.