This documentation is archived and is not being maintained.
VersionControlServer.GetPendingChanges Method (Int32(), Boolean)
Visual Studio 2013
Note: This API is now obsolete.
Gets the PendingChange objects from the repository with the specified IDs. Also gets information to download files.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
'Declaration <ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")> _ Public Function GetPendingChanges ( _ pendingChangeIds As Integer(), _ includeDownloadInfo As Boolean _ ) As PendingChange()
Parameters
- pendingChangeIds
- Type: System.Int32()
An array of PendingChange IDs.
- includeDownloadInfo
- Type: System.Boolean
True to get the information needed to download files. Specify false to save bandwidth, if downloading is not necessary.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.PendingChange()An array of PendingChange objects that match the specified IDs.
If a PendingChange cannot be found for a specific ID, then the corresponding element in the output array will be null.
- 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.
Show: