I blog about development using .net, C#, SQL, Windows RT, and other Microsoft technologies.
Disclaimer: All posts are provided "AS IS" with no warranties, confering no rights, and expressing only my personal opinion, not Microsoft's.
In a previous post, we used the command-line to list the changes in a shelveset. This time we are going to use an API to get the changes by calling:
VersionControlServer.QueryShelvedChanges
You have to be a valid user that can connect to Version Control, and you don't need a workspace to call this method. The method returns an array of PendingSets, and a PendingSet has a member called PendingChanges which is an array of pending changes.
PingBack from http://microsoft-sharepoint.simplynetdev.com/how-to-get-list-of-changes-in-a-shelveset-programmatically/