Share via


SupportedDeploymentScopes Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies the deployment scopes in which a SharePoint project item can be activated in SharePoint.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
<FlagsAttribute> _
<CLSCompliantAttribute(True)> _
Public Enumeration SupportedDeploymentScopes
[FlagsAttribute]
[CLSCompliantAttribute(true)]
public enum SupportedDeploymentScopes

Members

Member name Description
AppPackage SharePoint project items that cannot be included in a feature or a WSP. They are directly included in the app package.
Farm SharePoint project items that can be included in a feature with "Farm" scope in SharePoint.
Package SharePoint project items that cannot be included in a feature. They are directly included in a package.
Site SharePoint project items that can be included in a feature with "Site" scope in SharePoint.
Web SharePoint project items that can be included in a feature with "Web" scope in SharePoint.
WebApplication SharePoint project items that can be included in a feature with "WebApplication" scope in SharePoint.

Remarks

These values help you determine whether a feature will be compatible with (that is, have the same scope as) a particular SharePoint project item. A SharePoint project item can be used in more than one scope in SharePoint.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace