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 ( _
searchCriteria As GitQueryCommitsCriteria, _
repositoryId As String, _
projectId As String, _
skip As Nullable(Of Integer), _
top As Nullable(Of Integer) _
) As HttpResponseMessage
[HttpGetAttribute]
public HttpResponseMessage GetCommits(
GitQueryCommitsCriteria searchCriteria,
string repositoryId,
string projectId,
Nullable<int> skip,
Nullable<int> top
)
[HttpGetAttribute]
public:
HttpResponseMessage^ GetCommits(
GitQueryCommitsCriteria^ searchCriteria,
String^ repositoryId,
String^ projectId,
Nullable<int> skip,
Nullable<int> top
)
[<HttpGetAttribute>]
member GetCommits :
searchCriteria:GitQueryCommitsCriteria *
repositoryId:string *
projectId:string *
skip:Nullable<int> *
top:Nullable<int> -> HttpResponseMessage
public function GetCommits(
searchCriteria : GitQueryCommitsCriteria,
repositoryId : String,
projectId : String,
skip : Nullable<int>,
top : Nullable<int>
) : HttpResponseMessage
Parameters
- searchCriteria
Type: GitQueryCommitsCriteria
- repositoryId
Type: System.String
- projectId
Type: System.String
- skip
Type: System.Nullable<Int32>
- top
Type: System.Nullable<Int32>
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.