SharePointVersion Property
The SharePoint version.
Syntax
public int getSharePointVersion(); public void setSharePointVersion(int sharePointVersion);
Enumerated values: public final static int spvWSS2007 = 0; public final static int spvMOSS2007 = 1; public final static int spvSharePointFoundation2010 = 2; public final static int spvSharePointServer2010 = 3; public final static int spvSharePointFoundation2013 = 4; public final static int spvSharePointServer2013 = 5;
Remarks
Set this to the version of SharePoint being used. This property must be set to the correct SharePoint version in order for the component to use the correct API when communicating with SharePoint.
Default Value
0