共用方式為


SPWebApplication.Features property

會取得 Web 應用程式啟動的功能集。

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

Syntax

'宣告
Public ReadOnly Property Features As SPFeatureCollection
    Get
'用途
Dim instance As SPWebApplication
Dim value As SPFeatureCollection

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

Property value

Type: Microsoft.SharePoint.SPFeatureCollection
SPFeatureCollection 物件,代表功能。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace