Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to Check Consistency (Corrupted) In Outlook Pst and Ost file
Posted

1 solution

There is no API call as far as I can find to force a consistency check.

There is, however, an external tool that is installed with Outlook that you can shell out to that does this. I think it's under C:\Program Files\Common Files\System\MSMAPI\ somewhere, called ScanOst.exe.
 
Share this answer
 
Comments
Yogesh N Sh 11-Feb-14 23:52pm    
i know this scanost and scanpst But i Perform Programmatically in c# or c++
Dave Kreskowiak 12-Feb-14 7:04am    
You'd have to write your own tool using the information found at http://msdn.microsoft.com/en-us/library/gg615595(v=office.14).aspx.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900