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
- repositoryId
Type: System.String
- projectId
Type: System.String
- searchCriteria
Type: ChangeListSearchCriteria
Return Value
Type: System.Net.Http.HttpResponseMessage
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.