Workspace::GetPendingChanges Method (array<ItemSpec>, Boolean, Int32, String, Boolean, array<String>)
Gets all of the pending changes for these items and potentially subitems in this workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: array<PendingChange^>^ GetPendingChanges( array<ItemSpec^>^ itemSpecs, bool includeDownloadInfo, int pageSize, String^ lastChange, bool includeMergeSourceInfo, array<String^>^ itemPropertyFilters )
Parameters
- itemSpecs
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::ItemSpec>
A list of item specifications for the items being queried
- includeDownloadInfo
- Type: System::Boolean
If true, the server will include the information that is required to download files. Only set this to true if you will be downloading the files by using the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it)
- pageSize
- Type: System::Int32
The maximum number of pending changes to return in this page. Fewer pending changes could be returned if there are not enough pending changes for a full page.
- lastChange
- Type: System::String
The server path of the last pending change in the previous page. For the first page this value should be null. For subsequent pages, the server path of the last pending change in the page should be used.
- includeMergeSourceInfo
- Type: System::Boolean
Whether to include source information about renames / merges
- itemPropertyFilters
- Type: array<System::String>
List of property names to return on the pending change object if they exist.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client::PendingChange>The pending changes for the specified items in this workspace
- 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.