public static void Run()
{
// ExStart:ConvertOSTToPST
string dataDir = RunExamples.GetDataDir_Outlook();
// Load the Outlook file
string path = dataDir + "PersonalStorage.pst";
// Get the Display Name of the file
using (PersonalStorage ost = PersonalStorage.FromFile(path))
{
ost.SaveAs(dataDir + "ConvertOSTToPST_out.pst", FileFormat.Pst);
}
// ExEnd:ConvertOSTToPST
}
}