This topic has not yet been rated - Rate this topic

SPFeatureDefinition.AlwaysForceInstall Property

Gets a value that indicates whether the force flag is set to true by default during installation.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public bool AlwaysForceInstall { get; }

Property Value

Type: System.Boolean
A value of true specifies the force flag is set to true by default; otherwise, false.

A value of true will install the feature even if it is already installed.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ