共用方式為


TeamFoundationGitCommitService.QueryCommitHistory 方法

命名空間:  Microsoft.TeamFoundation.Git.Server
組件:  Microsoft.TeamFoundation.Git.Server (在 Microsoft.TeamFoundation.Git.Server.dll 中)

語法

'宣告
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
)

參數

傳回值

類型:System.Collections.Generic.IEnumerable<TfsGitCommitHistoryEntry>

.NET Framework 安全性

請參閱

參考

TeamFoundationGitCommitService 類別

Microsoft.TeamFoundation.Git.Server 命名空間