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 Technology, a Microsoft Gold Competency Partner in Winston-Salem, NC. I focus on the SharePoint platform with a specialty in Information Architecture, Internet Facing and Mobile applications.

4 Comments on "SharePoint Search Crawled Properties Variant Types"

  1. david says:

    Thank you :) Great !

  2. Basti says:

    Thanks, helped a lot :)

  3. Cory says:

    Thanks guys! Glad it helped.

  4. Dave Crabtree says:

    Decimal?

Got something to say? Go for it!