共用方式為


SPFeatureDefinition.AlwaysForceInstall property

取得一個值,指出是否 force 旗標設定成true預設在安裝期間。

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

Syntax

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

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

Property value

Type: System.Boolean
true的值會指定 force 旗標,會根據預設,設為true否則,請false。

備註

即使已安裝true值將會安裝此功能。

請參閱

參照

SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace

其他資源

SharePoint 功能