Page 1 of 1

VaultRepositoryInfo members don't return data.

Posted: Mon Dec 15, 2008 10:32 pm
by Balthazor
I'm noticing that the VaultRepositoryInfo.DeletedFileCount, VaultRepositoryInfo.DeletedFolderCount, VaultRepositoryInfo.DbSize and VaultRepositoryInfo.TreeSize seem to always be 0. The FolderCount and FileCount appear to work just fine. Is there something I need to do to get these to return data, or do they just not do anything? This is with the Vault 4.1.3 API.

Re: VaultRepositoryInfo members don't return data.

Posted: Wed Dec 17, 2008 8:49 am
by shannon
How are you getting the VaultRepositoryInfo?

Re: VaultRepositoryInfo members don't return data.

Posted: Thu Dec 18, 2008 11:03 am
by Balthazor
This is the code I'm using:

VaultRepositoryInfo[] reps = null;
client.ListRepositories(ref reps);
foreach (VaultRepositoryInfo r in reps)
{
Repositories.Add(r.RepName, r);
}

Later on I'm getting info from the VaultRepositoryInfo objects that I've loaded into the SortedList Repositories.

Re: VaultRepositoryInfo members don't return data.

Posted: Thu Dec 18, 2008 1:49 pm
by shannon
That call just doesn't fill in those values. (Filling in those values is expensive in terms of server effort and time.) We don't have a method in VaultClientIntegrationLib that would get them for you.