GitCommitsController.GetCommits Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
<HttpGetAttribute> _
Public Function GetCommits ( _
    repositoryId As String, _
    projectId As String, _
    searchCriteria As ChangeListSearchCriteria _
) As HttpResponseMessage
[HttpGetAttribute]
public HttpResponseMessage GetCommits(
    string repositoryId,
    string projectId,
    ChangeListSearchCriteria searchCriteria
)
[HttpGetAttribute]
public:
HttpResponseMessage^ GetCommits(
    String^ repositoryId, 
    String^ projectId, 
    ChangeListSearchCriteria^ searchCriteria
)
[<HttpGetAttribute>]
member GetCommits : 
        repositoryId:string * 
        projectId:string * 
        searchCriteria:ChangeListSearchCriteria -> HttpResponseMessage
public function GetCommits(
    repositoryId : String, 
    projectId : String, 
    searchCriteria : ChangeListSearchCriteria
) : HttpResponseMessage

Parameters

  • searchCriteria
    Type: ChangeListSearchCriteria

Return Value

Type: System.Net.Http.HttpResponseMessage

.NET Framework Security

See Also

Reference

GitCommitsController Class

Microsoft.TeamFoundation.SourceControl.WebApi Namespace