You will need to use the ManagementInfo class, which is documented in the help file "TOM 2009 SP1.chm Configuration and Configuration Guide" that ships with the SDL Tridion 2009.
Quote:
The ManagementInfo object supports the following methods:
GetListPublishQueue Gets a list of items in the publish queue or scheduler. GetListPublishTransactions Gets a list of transaction publications.
GetListPublishQueue: Summary. Gets a list of items in the publication. queue or scheduler.
These classes and methods are contained in the COM version of the TOM DLL, so you will need to use Interop to access it from Microsoft.NET
source share