共用方式為


SPFeatureDefinition.ActivateOnDefault property

取得一個值,指定是否已啟動功能在安裝時由預設。

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

Syntax

'宣告
Public ReadOnly Property ActivateOnDefault As Boolean
    Get
'用途
Dim instance As SPFeatureDefinition
Dim value As Boolean

value = instance.ActivateOnDefault
public bool ActivateOnDefault { get; }

Property value

Type: System.Boolean
true如果根據預設,啟動功能否則,請false。

請參閱

參照

SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace

其他資源

功能元素 (功能)