SharePointVersion Property
The SharePoint version.
Syntax
int GetSharePointVersion();
int SetSharePointVersion(int iSharePointVersion);
Possible Values
SPV_WSS2007(0), SPV_MOSS2007(1), SPV_SHARE_POINT_FOUNDATION_2010(2), SPV_SHARE_POINT_SERVER_2010(3), SPV_SHARE_POINT_FOUNDATION_2013(4), SPV_SHARE_POINT_SERVER_2013(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 class to use the correct API when communicating with SharePoint.
Data Type
Integer