共用方式為


SPWebApplication.Features Property

Gets the set of Features activated for the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property Features As SPFeatureCollection
    Get
'Usage
Dim instance As SPWebApplication
Dim value As SPFeatureCollection

value = instance.Features
public SPFeatureCollection Features { get; }

Property Value

Type: Microsoft.SharePoint.SPFeatureCollection
An SPFeatureCollectionobject that represents the Features.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace