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
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- repository
類型:Microsoft.TeamFoundation.Git.Server.TfsGitRepository
- commitId
類型:array<System.Byte[]
- path
類型:System.String
- recursive
類型:System.Boolean
- excludeDeletes
類型:System.Boolean
- author
類型:System.String
- committer
類型:System.String
- fromDate
類型:System.Nullable<DateTime>
- toDate
類型:System.Nullable<DateTime>
- fromCommitId
類型:array<System.Byte[]
- toCommitId
類型:array<System.Byte[]
- compareCommitId
類型:array<System.Byte[]
- skip
類型:System.Nullable<Int32>
- maxItemCount
類型:System.Nullable<Int32>
傳回值
類型:System.Collections.Generic.IEnumerable<TfsGitCommitHistoryEntry>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。