The article on the link given below has code snippets of AMO. At the end of the article Figure 12 Decision Tree's code snippet is corrupted, i would request the authors to post that partcular code snippet since it would be extreamly helpful to my work.
Akshay, thanks for reporting this. We'll work with the MSDN folks to get this fixed. However, note that the figure is just a screenshot of the Decision Tree viewer, not a code snippet. You can use the SQL Server Profiler to trace the commands the viewer sends to the server to fetch the mining model content. You can also use the MiningContentNodeCollection in the ADOMD.NET object model to browse the content.Raman Iyer, SQL Server Data Mining -- we are hiring - check www.sqlserverdatamining.com/jobs