I'm working on an app using the Vault API, and I need to check out a file. The function asks for a byte value for checkOutType:
public VaultResponseItem[] CheckOut(
VaultClientFile file,
byte checkOutType,
string comment
);
I have no idea what value I need to pass in here, since they appear to not be listed anywhere in the documentation.
Thanks!
I need to know what the checkOutType values are.
Moderator: SourceGear
You need to create a change set and pass it to the BeginTx(). If that succeeds, send the Commit request to EndTx().
If you're just getting started in Vault client API, you might find some good examples of how things work in the source code of the Command Line Client. I believe this can be found in the Vault Client API download.
HTH
If you're just getting started in Vault client API, you might find some good examples of how things work in the source code of the Command Line Client. I believe this can be found in the Vault Client API download.
HTH
Jeff Clausius
SourceGear
SourceGear
You can also see some samples of Vault code at my blog at http://weblogs.asp.net/jeremy_sheeley