This documentation is archived and is not being maintained.
VersionControlServer::GetPendingChange Method (Int32, Boolean)
Visual Studio 2013
Note: This API is now obsolete.
Gets the PendingChange object from the repository, with the specified ID. Also gets information to download files.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
[ObsoleteAttribute(L"Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")] public: PendingChange^ GetPendingChange( int pendingChangeId, bool includeDownloadInfo )
Parameters
- pendingChangeId
- Type: System::Int32
The PendingChange ID.
- 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::PendingChangeThe PendingChange that matches the specified ID. Otherwise, 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: