Compartir a través de


Workspace.GetPendingChanges Method (array<ItemSpec , Boolean, Int32, String)

Gets the pending changes for these items and sub-items in this workspace.

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

Syntax

'Declaración
Public Function GetPendingChanges ( _
    itemSpecs As ItemSpec(), _
    includeDownloadInfo As Boolean, _
    pageSize As Integer, _
    lastChange As String _
) As PendingChange()
public PendingChange[] GetPendingChanges(
    ItemSpec[] itemSpecs,
    bool includeDownloadInfo,
    int pageSize,
    string lastChange
)
public:
array<PendingChange^>^ GetPendingChanges(
    array<ItemSpec^>^ itemSpecs, 
    bool includeDownloadInfo, 
    int pageSize, 
    String^ lastChange
)
member GetPendingChanges : 
        itemSpecs:ItemSpec[] * 
        includeDownloadInfo:bool * 
        pageSize:int * 
        lastChange:string -> PendingChange[] 
public function GetPendingChanges(
    itemSpecs : ItemSpec[], 
    includeDownloadInfo : boolean, 
    pageSize : int, 
    lastChange : String
) : PendingChange[]

Parameters

  • includeDownloadInfo
    Type: System.Boolean
    True to include the information needed to download files. False to not download the additional information.
  • pageSize
    Type: System.Int32
    The maximum number of pending changes to return in this page.
  • lastChange
    Type: System.String
    The server path of the last pending change in the previous page.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]
The pending changes for the specified items in this workspace.

Remarks

Only set includeDownloadInfo to true if you are going to be downloading the files using the information that is returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that don't specify it).

For the first page lastChange should be null. For subsequent pages, the server path of the last pending change in the page should be used.

.NET Framework Security

See Also

Reference

Workspace Class

GetPendingChanges Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace