IPackageManifest.SharePointProductVersion Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets the version of SharePoint that the solution is designed for.
Namespace: Microsoft.VisualStudio.SharePoint.Packages
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Property SharePointProductVersion As String
string SharePointProductVersion { get; set; }
Property Value
Type: System.String
A string value representing a version number.
Remarks
SharePoint uses this attribute to determine the version of SharePoint the solution is designed for. The two current valid values are 12.0 and 14.0. A value of 12.0 indicates that the item is designed for Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007, while 14.0 indicates that the item is designed for SharePoint Foundation 2010 or SharePoint Server 2010. For more information, see Importing Items from an Existing SharePoint Site.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.