Delen via


TeamFoundationVersionControlService.UndoPendingChanges Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method UndoPendingChanges(TeamFoundationRequestContext, String, String, array<ItemSpec[], array<String[], array<String[], Boolean) Undoes a set of pending changes. If a serverItem spec does not match anything, a Failure object is returned for it. This method returns an array of pending changes that were undone. For each file, the client should call DownloadFile() and specify the version returned in the UndonePendingChange object to retrieve the unmodified versions of the files.
Public method UndoPendingChanges(TeamFoundationRequestContext, String, String, array<ItemSpec[], array<String[], array<String[], Boolean, PathLength) Undoes a set of pending changes. If a serverItem spec does not match anything, a Failure object is returned for it. This method returns an array of pending changes that were undone. For each file, the client should call DownloadFile() and specify the version returned in the UndonePendingChange object to retrieve the unmodified versions of the files.

Top

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace