Repository.QueryHistory Method

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

Syntax

'宣言
<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

Return Value

Type: System.Collections.Generic.List<Changeset>

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace