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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- repository
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository
- commitId
Type: array<System.Byte[]
- parentPath
Type: System.String
- recursionLevel
Type: Microsoft.TeamFoundation.Git.Server.QueryCommitItemsRecursionLevel
Return Value
Type: System.Collections.Generic.IEnumerable<TfsGitCommitHistoryEntry>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.