共用方式為


SP.FeatureDefinitionScope Enumeration

Applies to: SharePoint Foundation 2010

Specifies the feature scope for a feature definition.

Values

Name

Description

none

The feature scope is not specified. The value = 0.

farm

Enumeration whose values specify that the feature scope has to be at the farm level. The value = 1.

site

Enumeration whose values specify that the feature scope has to be at the site collection level. The value = 2.

See Also

Reference

SP Namespace