How do I get the latest version a project using .NET API?

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear


Posts: 23
Joined: Fri Oct 18, 2013 1:18 pm
PostPosted: Fri Jul 08, 2016 2:58 am
I want to know how to get the latest version of a project.

I'm using Vault Client .NET API.

Posts: 8418
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Fri Jul 08, 2016 10:12 am
Here is a basic get on a folder.
Code: Select all
            GetOptions getOptions = new GetOptions();
            getOptions.Recursive = true;
            GetOperations.ProcessCommandGet(new string[] { diskPath }, getOptions);
Beth Kieler
SourceGear Technical Support

Posts: 23
Joined: Fri Oct 18, 2013 1:18 pm
PostPosted: Thu Jul 14, 2016 12:48 am
Thank you Beth. That's the exact solution to my problem.

Return to Questions (API)

Who is online

Users browsing this forum: No registered users and 1 guest

cron