For some reason, I am unable to delete a PST file after I have extracted it out of Outlook using .NET code. The code I'm using is from: How can I create an Outlook PST file using .Net?.
Is there anything I can do to release the lock at the end of extracting out the PST file? According to this post: Problem in releasing memory from an Outlook pst file, it holds the lock for 30 minutes. There has got to be a way around this, isn't there?
The issue is that I need to do something else with this PST file after I have extracted it from Outlook.