SharePoint Search Crawled Properties Variant Types

If you ever need to create SharePoint managed properties through code then you’re going to be asked for a Variant Type. Since I couldn’t find an enum in the code or any documentation to identify them I started digging through the SharePoint UI and was able to hunt down the following. Hopefully it will save the next person some time.

Read more about programmatically creating managed properties via MSDN.

Variant Type Data Type
31 Text
20 Integer
11 Yes/No
12 Binary Data
64 Date/Time
I'm a public speaker and the Chief SharePoint Architect for Eastridge, a Microsoft Gold Partner specializing in SharePoint and custom application development in Winston-Salem, NC. I focus on the SharePoint platform with a specialty in Information Architecture, Publishing and Best Practices.

Got something to say? Go for it!