At last Microsoft released a Power-Tool to enable generating Visual Studio 2010 code metrics analysis using a command line.
the tool can be downloaded from here:
The output is stored into an XML file which is than can be processed to generate a nice visible report.
Next steps would be to create an xsl that can be used by various build servers (like cc.net).
and integrate this into the crap4Net tool so it can process that format.
This is going to be be useful.