Share via


Repository.QueryPendingChangesForWorkspace Method

Returns a list of pending changes matching specified criteria.

These results are limited by the value passed in for page size. The value of lastChange specifies where to begin paging from, or null for the first page.

Children are returned according to the recursive option. If RecursionType.None is specified, only the serverItem is returned. If RecursionType.OneLevel is specified and serverItem represents a folder, that folder and its direct children are returned. If RecursionType.Full is specified and serverItem is a folder, all its descendants are returned.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryPendingChangesForWorkspace ( _
    workspaceName As String, _
    workspaceOwner As String, _
    itemSpecs As ItemSpec(), _
    generateDownloadUrls As Boolean, _
    pageSize As Integer, _
    lastChange As String, _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure) _
) As StreamingCollection(Of PendingChange)
[WebMethodAttribute]
public StreamingCollection<PendingChange> QueryPendingChangesForWorkspace(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] itemSpecs,
    bool generateDownloadUrls,
    int pageSize,
    string lastChange,
    out StreamingCollection<Failure> failures
)
[WebMethodAttribute]
public:
StreamingCollection<PendingChange^>^ QueryPendingChangesForWorkspace(
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ItemSpec^>^ itemSpecs, 
    bool generateDownloadUrls, 
    int pageSize, 
    String^ lastChange, 
    [OutAttribute] StreamingCollection<Failure^>^% failures
)
[<WebMethodAttribute>]
member QueryPendingChangesForWorkspace : 
        workspaceName:string * 
        workspaceOwner:string * 
        itemSpecs:ItemSpec[] * 
        generateDownloadUrls:bool * 
        pageSize:int * 
        lastChange:string * 
        failures:StreamingCollection<Failure> byref -> StreamingCollection<PendingChange> 
public function QueryPendingChangesForWorkspace(
    workspaceName : String, 
    workspaceOwner : String, 
    itemSpecs : ItemSpec[], 
    generateDownloadUrls : boolean, 
    pageSize : int, 
    lastChange : String, 
    failures : StreamingCollection<Failure>
) : StreamingCollection<PendingChange>

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<PendingChange>
Array of PendingChange objects for the workspace, matching the itemspecs.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace