Share via


TeamFoundationGitCommitService.QueryCommitItems Method

Get items under a given path, with the last commit performed on each item.

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

Syntax

'Declaration
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
)
public:
IEnumerable<TfsGitCommitHistoryEntry^>^ QueryCommitItems(
    TeamFoundationRequestContext^ requestContext, 
    TfsGitRepository^ repository, 
    array<unsigned char>^ commitId, 
    String^ parentPath, 
    QueryCommitItemsRecursionLevel recursionLevel
)
member QueryCommitItems : 
        requestContext:TeamFoundationRequestContext * 
        repository:TfsGitRepository * 
        commitId:byte[] * 
        parentPath:string * 
        recursionLevel:QueryCommitItemsRecursionLevel -> IEnumerable<TfsGitCommitHistoryEntry> 
public function QueryCommitItems(
    requestContext : TeamFoundationRequestContext, 
    repository : TfsGitRepository, 
    commitId : byte[], 
    parentPath : String, 
    recursionLevel : QueryCommitItemsRecursionLevel
) : IEnumerable<TfsGitCommitHistoryEntry>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

TeamFoundationGitCommitService Class

Microsoft.TeamFoundation.Git.Server Namespace