TeamFoundationGitCommitService.QueryCommitHistory Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
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
)
public:
IEnumerable<TfsGitCommitHistoryEntry^>^ QueryCommitHistory(
TeamFoundationRequestContext^ requestContext,
TfsGitRepository^ repository,
array<unsigned char>^ commitId,
String^ path,
bool recursive,
bool excludeDeletes,
String^ author,
String^ committer,
Nullable<DateTime> fromDate,
Nullable<DateTime> toDate,
array<unsigned char>^ fromCommitId,
array<unsigned char>^ toCommitId,
array<unsigned char>^ compareCommitId,
Nullable<int> skip,
Nullable<int> maxItemCount
)
member QueryCommitHistory :
requestContext:TeamFoundationRequestContext *
repository:TfsGitRepository *
commitId:byte[] *
path:string *
recursive:bool *
excludeDeletes:bool *
author:string *
committer:string *
fromDate:Nullable<DateTime> *
toDate:Nullable<DateTime> *
fromCommitId:byte[] *
toCommitId:byte[] *
compareCommitId:byte[] *
skip:Nullable<int> *
maxItemCount:Nullable<int> -> IEnumerable<TfsGitCommitHistoryEntry>
public function QueryCommitHistory(
requestContext : TeamFoundationRequestContext,
repository : TfsGitRepository,
commitId : byte[],
path : String,
recursive : boolean,
excludeDeletes : boolean,
author : String,
committer : String,
fromDate : Nullable<DateTime>,
toDate : Nullable<DateTime>,
fromCommitId : byte[],
toCommitId : byte[],
compareCommitId : byte[],
skip : Nullable<int>,
maxItemCount : Nullable<int>
) : IEnumerable<TfsGitCommitHistoryEntry>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- repository
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository
- commitId
Type: array<System.Byte[]
- path
Type: System.String
- recursive
Type: System.Boolean
- excludeDeletes
Type: System.Boolean
- author
Type: System.String
- committer
Type: System.String
- fromDate
Type: System.Nullable<DateTime>
- toDate
Type: System.Nullable<DateTime>
- fromCommitId
Type: array<System.Byte[]
- toCommitId
Type: array<System.Byte[]
- compareCommitId
Type: array<System.Byte[]
- skip
Type: System.Nullable<Int32>
- maxItemCount
Type: System.Nullable<Int32>
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.