Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns changeset information about an item and its children. The maxCount newest changesets will be returned that involve the specified item and are in the range of versionFrom->versionTo.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryHistory ( _
workspaceName As String, _
workspaceOwner As String, _
itemSpec As ItemSpec, _
versionItem As VersionSpec, _
user As String, _
versionFrom As VersionSpec, _
versionTo As VersionSpec, _
maxCount As Integer, _
includeFiles As Boolean, _
generateDownloadUrls As Boolean, _
slotMode As Boolean, _
sortAscending As Boolean _
) As List(Of Changeset)
[WebMethodAttribute]
public List<Changeset> QueryHistory(
string workspaceName,
string workspaceOwner,
ItemSpec itemSpec,
VersionSpec versionItem,
string user,
VersionSpec versionFrom,
VersionSpec versionTo,
int maxCount,
bool includeFiles,
bool generateDownloadUrls,
bool slotMode,
bool sortAscending
)
[WebMethodAttribute]
public:
List<Changeset^>^ QueryHistory(
String^ workspaceName,
String^ workspaceOwner,
ItemSpec^ itemSpec,
VersionSpec^ versionItem,
String^ user,
VersionSpec^ versionFrom,
VersionSpec^ versionTo,
int maxCount,
bool includeFiles,
bool generateDownloadUrls,
bool slotMode,
bool sortAscending
)
[<WebMethodAttribute>]
member QueryHistory :
workspaceName:string *
workspaceOwner:string *
itemSpec:ItemSpec *
versionItem:VersionSpec *
user:string *
versionFrom:VersionSpec *
versionTo:VersionSpec *
maxCount:int *
includeFiles:bool *
generateDownloadUrls:bool *
slotMode:bool *
sortAscending:bool -> List<Changeset>
public function QueryHistory(
workspaceName : String,
workspaceOwner : String,
itemSpec : ItemSpec,
versionItem : VersionSpec,
user : String,
versionFrom : VersionSpec,
versionTo : VersionSpec,
maxCount : int,
includeFiles : boolean,
generateDownloadUrls : boolean,
slotMode : boolean,
sortAscending : boolean
) : List<Changeset>
Parameters
workspaceName
Type: System.StringWorkspace name (if a local path is supplied).
workspaceOwner
Type: System.StringWorkspace owner (if a local path is supplied).
itemSpec
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpecRoot item, deletionId, and recursion flag. Accepts server or local paths.
versionItem
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecVersion spec used to qualify the itemSpec.
user
Type: System.StringUser to display changesets created by. Null == any user.
versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecOldest changeset to return. Null == epoch.
versionTo
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecNewest changeset to return. Null == now.
maxCount
Type: System.Int32Maximum number of changesets to return.
includeFiles
Type: System.BooleanIndicates whether files (Changes) should be included in the data.
- generateDownloadUrls
Type: System.Boolean
slotMode
Type: System.BooleanSpecifies slot or item mode behavior.
sortAscending
Type: System.BooleanInstructs the server to return the top maxCount results in ascending order.
Return Value
Type: System.Collections.Generic.List<Changeset>
Array of Changesets, newest first.
.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.