命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。