Object Model version of stsadm -o execsvcadmjobs command

1.3k views Asked by At

What is the equivalent command to perform any outstanding actions? Thanks

1

There are 1 answers

1
Per Jakobsen On BEST ANSWER

It's a quiet complex series of commands which starts off by calling a method on an internal static class (SPTimerStore), so in order to reproduce it you'll have to reproduce at least also this method.

If you really want to see what's going on you can open stsadm.exe in .Net Reflector it has a class for each of the out-of-the-box operations where the run method is the one called at execution time