You need to access your workspace using something like this:
var vcServer = teamProjectCollection.GetService<VersionControlServer>(); Workspace myWorkspace = vcServer.GetWorkspace("workspaceName", "workspaceOwner");
Then you will get the latest version with
myWorkspace.Get();
or specify what you want to get by consulting this .
To find out about your jobs, go to VS on
File> Source Control> Workspaces ...
source share