System.Diagnostics.Process usage

Dec 9 2003 2:46 PM
I am using the Process class to launch a batch file that uses the osql utility to create and then populate a database. How can my application retrieve the ERROR LEVEL from the batch program to verify whether the batch file worked. Please help. Thanks in advance.