Поделиться через


TeamFoundationGitCommitService.QueryCommitHistory Method

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Function QueryCommitHistory ( _
    requestContext As TeamFoundationRequestContext, _
    repository As TfsGitRepository, _
    commitId As Byte(), _
    path As String, _
    recursive As Boolean, _
    excludeDeletes As Boolean, _
    author As String, _
    committer As String, _
    fromDate As Nullable(Of DateTime), _
    toDate As Nullable(Of DateTime), _
    fromCommitId As Byte(), _
    toCommitId As Byte(), _
    compareCommitId As Byte(), _
    skip As Nullable(Of Integer), _
    maxItemCount As Nullable(Of Integer) _
) As IEnumerable(Of TfsGitCommitHistoryEntry)
public IEnumerable<TfsGitCommitHistoryEntry> QueryCommitHistory(
    TeamFoundationRequestContext requestContext,
    TfsGitRepository repository,
    byte[] commitId,
    string path,
    bool recursive,
    bool excludeDeletes,
    string author,
    string committer,
    Nullable<DateTime> fromDate,
    Nullable<DateTime> toDate,
    byte[] fromCommitId,
    byte[] toCommitId,
    byte[] compareCommitId,
    Nullable<int> skip,
    Nullable<int> maxItemCount
)
public:
IEnumerable<TfsGitCommitHistoryEntry^>^ QueryCommitHistory(
    TeamFoundationRequestContext^ requestContext, 
    TfsGitRepository^ repository, 
    array<unsigned char>^ commitId, 
    String^ path, 
    bool recursive, 
    bool excludeDeletes, 
    String^ author, 
    String^ committer, 
    Nullable<DateTime> fromDate, 
    Nullable<DateTime> toDate, 
    array<unsigned char>^ fromCommitId, 
    array<unsigned char>^ toCommitId, 
    array<unsigned char>^ compareCommitId, 
    Nullable<int> skip, 
    Nullable<int> maxItemCount
)
member QueryCommitHistory : 
        requestContext:TeamFoundationRequestContext * 
        repository:TfsGitRepository * 
        commitId:byte[] * 
        path:string * 
        recursive:bool * 
        excludeDeletes:bool * 
        author:string * 
        committer:string * 
        fromDate:Nullable<DateTime> * 
        toDate:Nullable<DateTime> * 
        fromCommitId:byte[] * 
        toCommitId:byte[] * 
        compareCommitId:byte[] * 
        skip:Nullable<int> * 
        maxItemCount:Nullable<int> -> IEnumerable<TfsGitCommitHistoryEntry> 
public function QueryCommitHistory(
    requestContext : TeamFoundationRequestContext, 
    repository : TfsGitRepository, 
    commitId : byte[], 
    path : String, 
    recursive : boolean, 
    excludeDeletes : boolean, 
    author : String, 
    committer : String, 
    fromDate : Nullable<DateTime>, 
    toDate : Nullable<DateTime>, 
    fromCommitId : byte[], 
    toCommitId : byte[], 
    compareCommitId : byte[], 
    skip : Nullable<int>, 
    maxItemCount : Nullable<int>
) : IEnumerable<TfsGitCommitHistoryEntry>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<TfsGitCommitHistoryEntry>

.NET Framework Security

See Also

Reference

TeamFoundationGitCommitService Class

Microsoft.TeamFoundation.Git.Server Namespace