we currently do the following;
Code: Select all
VaultLib.VaultHistoryQueryRequest req = new VaultLib.VaultHistoryQueryRequest();
ArrayList actions = new ArrayList();
req.SubstringType = VaultLib.VaultQueryRequestSubstrings.FileFolderNames;
req.IsFolder = true;
req.Recursive = true;
req.RepID = ServerOperations.client.ClientInstance.ActiveRepositoryID;
req.TopName = strRepositoryPath;
req.Type = VaultHistoryType.Label;
req.Sorts = new long[1];
req.Sorts[0] = (long)VaultQueryRequestSort.DateSort | VaultQueryRequestSort.DescSort;
actions.Clear();
//If user didn't specify beginning and end date
req.DateFilterMask = VaultQueryRequestDates.HistoryAfter;
req.BeginDate = req.EndDate = VaultDate.EmptyDate();
string token = String.Empty;
int rowsRetrieved = 0;
VaultLib.VaultHistoryItem[] items = new VaultLib.VaultHistoryItem[1];
ServerOperations.client.ClientInstance.Connection.HistoryBegin(req, 1000, ref rowsRetrieved, ref token);
SO, getting results back that are not inherited would be great.
please advise,
cheers
peteB