Metadata Sample Complete

Sample from: http://msdn.microsoft.com/en-us/library/aa738489.aspx