What's the easiest way to check if replication is enabled in a SQL 2000, 2005, and 2008 compatible format? Don't need any status info...just to know if it's enabled for a DB. I need this because I want my Db Migration code to throw an exception if replication is enabled before it tries to perform schema updates.
Thanks.