0

I know that I can add the SourceSafeTypeLib to a project and can explore it in object browser and find obvious things (GetLatest, etc), but I am looking for some more thorough documentation or specific tutorials on things like "undo another user's checkout" or"determine who has a file checked out.

If anyone knows where to find this material, how to do advanced or non-obvious tasks with VSS, or knows how to disassemble a COM api (so I can engineer my own api) it would be much appreciated.

StingyJack
  • 19,041
  • 10
  • 63
  • 122

2 Answers2

1

You might check out Microsoft's documentation on the Microsoft.VisualStudio.SourceSafe.Interop namespace (I assume that's what you've looked at). I used it to create a VB.NET utility that does get latest, check-outs, and check-ins against a VSS 2005 database.

A quick perusal revealed the IVSSItem.UndoCheckout method, and the IVSSCheckouts type, which is a collection of checkouts for a given file.

Community
  • 1
  • 1
Chris Tybur
  • 1,612
  • 2
  • 23
  • 38
0

You can also have a look at Visual SourceSafe Automation article at MSDN.

Community
  • 1
  • 1
awaisj
  • 344
  • 3
  • 15