How to get type for PDMWSearchResult

Anyone have a clue as to how to get the record type from a PDMWSearchResult [Connection.Search()].  I can see this value in the user GUI under the info tab but can't find a way to do this with a script

- Solidworks Toolbox Part

- Solidworks Part Document

- Solidworks Assembly Document

- Solidworks Drawing Document

I want to filter out the "Solidworks Toolbox Parts" from my result. I also want filter out the "Projects" from the result but it seems I can do this just by ignoring the result that have nothing in the "document" field.

SolidworksWorkgroup Pdm