Compartilhar via


SupportedDeploymentScopes Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class SupportedDeploymentScopes
[System.CLSCompliant(true)]
[System.Flags]
public enum SupportedDeploymentScopes
[<System.CLSCompliant(true)>]
[<System.Flags>]
type SupportedDeploymentScopes = 
Public Enum SupportedDeploymentScopes
Inheritance
SupportedDeploymentScopes
Attributes

Fields

Name Value Description
Web 1

SharePoint project items that can be included in a feature with "Web" scope in SharePoint.

Site 2

SharePoint project items that can be included in a feature with "Site" scope in SharePoint.

WebApplication 4

SharePoint project items that can be included in a feature with "WebApplication" scope in SharePoint.

Farm 8

SharePoint project items that can be included in a feature with "Farm" scope in SharePoint.

Package 16

SharePoint project items that cannot be included in a feature. They are directly included in a package.

AppPackage 32

SharePoint project items that cannot be included in a feature or a WSP. They are directly included in the app package.

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.

Applies to