SharePointVersion Property
The SharePoint version.
Syntax
spsearchcontrol.SharePointVersion[=integer]
Possible Values
spvWSS2007(0), spvMOSS2007(1), spvSharePointFoundation2010(2), spvSharePointServer2010(3), spvSharePointFoundation2013(4), spvSharePointServer2013(5)
Default Value
0
Remarks
Set this to the version of SharePoint being used. This property must be set to the correct SharePoint version in order for the control to use the correct API when communicating with SharePoint.
Data Type
Integer