By Shannon Horn MCAD, MCSD, MCT (5/4/2004)
Most applications expose themselves as an object and Microsoft SQL Server is no exception. The functionality of SQL Server is exposed through a COM component called SQLDMO (SQL Server Distributed Management Objects). It is very easy to communicate with a COM component from within a .NET application, and you'll learn how to do so in this tutorial. Example shows creation of Stored Procedure. (From SQLJunkies)
http://www.sqljunkies.com/Tutorial/1BFBD444-DCB2-4318-A315-56BCA1D8C97D.scuk