SMO
From Richard's Wiki
- How to fix slow SMO performance - use Server.SetDefaultInitFields:
server.SetDefaultInitFields(typeof(Column), true);
- What interface does Management Studio use? - look at the example from Simon Hay 2/3 of the way down.