共用方式為


TeamFoundationGitCommitService.QueryCommitItems 方法

取得項目在指定路徑下,有的執行在每一個項目。

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

語法

'宣告
Public Function QueryCommitItems ( _
    requestContext As TeamFoundationRequestContext, _
    repository As TfsGitRepository, _
    commitId As Byte(), _
    parentPath As String, _
    recursionLevel As QueryCommitItemsRecursionLevel _
) As IEnumerable(Of TfsGitCommitHistoryEntry)
public IEnumerable<TfsGitCommitHistoryEntry> QueryCommitItems(
    TeamFoundationRequestContext requestContext,
    TfsGitRepository repository,
    byte[] commitId,
    string parentPath,
    QueryCommitItemsRecursionLevel recursionLevel
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

TeamFoundationGitCommitService 類別

Microsoft.TeamFoundation.Git.Server 命名空間