SPFeatureDefinition.AutoActivateInCentralAdmin Property

Gets a value that specifies whether the Feature is activated on the central administrative Web site, site collection, or Web application upon installation.

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

Syntax

'Declaration
Public ReadOnly Property AutoActivateInCentralAdmin As Boolean
    Get
'Usage
Dim instance As SPFeatureDefinition
Dim value As Boolean

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

Property Value

Type: System.Boolean
A value of true specifies the Feature should be activated when it is installed on the central administrative Web site, site collection, or Web application; otherwise, false.

Remarks

Feature activation does not propagate through the entire SharePoint Foundation farm; instead, a feature should be manually installed on each web front end, then deployed from the Central Administration user interface.

See Also

Reference

SPFeatureDefinition Class

SPFeatureDefinition Members

Microsoft.SharePoint.Administration Namespace

Other Resources

Solutions Overview

Walkthrough: Creating a Content Service Object