I need to do a little bit of research myself to find you the full answer but let me point you in the right direction for now:
http://help.red-gate.com/help/SQLCompar ... /index.htm
SQL Compare API 8.0.0
the Work.ScriptObject Method
Assembly: RedGate.SQLCompare.Engine (in RedGate.SQLCompare.Engine.dll)
Returns the script necessary to create a SQL object.