Filtering by Action in VaultHistoryQueryRequest

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
joel
Posts: 38
Joined: Mon Feb 02, 2004 5:18 pm

Filtering by Action in VaultHistoryQueryRequest

Post by joel » Fri Apr 30, 2004 12:26 pm

Do you have an example of how to filter by action type(s) in a VaultHistoryQueryRequest object? Or, could you point me in the right direction? I see the Actions array in VaultHistoryQueryRequest, but I'm not sure what to put in there.

Thanks,
Joel

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Apr 30, 2004 2:00 pm

create an array of longs filled with VaultLib.VaultDefines.VaultRequestType.*

for example:

x.Actions = new long[] { VaultLib.VaultDefines.VaultRequestType.Move, VaultLib.VaultDefines.VaultRequestType.Pin };

would retrieve the moves / pins on the object(s).

hth
Jeff Clausius
SourceGear

Post Reply