SPFeatureDefinition Properties

Include Protected Members
Include Inherited Members

The SPFeatureDefinition type exposes the following members.

Properties

  Name Description
Public property ActivateOnDefault Gets a value that specifies whether the Feature is activated upon installation by default.
Public property ActivationDependencies Gets the collection of Features on which activation of this Feature depends.
Public property AlwaysForceInstall Gets a value that indicates whether the force flag is set to true by default during installation.
Public property AutoActivateInCentralAdmin Gets a value that specifies whether the Feature is activated on the central administrative Web site, site collection, or Web application upon installation.
Public property DefaultResourceFile Gets a partial name of a file that contains localized resources used by this Feature.
Public property DisplayName Gets the folder name for the Feature. (Overrides SPPersistedObject.DisplayName.)
Public property Farm Gets the server farm where the object resides. (Inherited from SPPersistedObject.)
Public property Hidden Gets a value that indicates whether the Feature is hidden within the Microsoft SharePoint Foundation user interface.
Public property Id Gets or sets the Guid that is associated with the object.
Public property Name Gets or sets the name that identifies a specific SPFeature object.
Public property Parent Gets the parent in the logical hierarchy of the configuration object tree. (Inherited from SPPersistedObject.)
Public property Properties Gets a standardized property bag object that contains per-Feature settings that are specified in the Feature definition.
Public property ReceiverAssembly Gets the strong name of the assembly that handles events for this Feature.
Public property ReceiverClass Gets the fully qualified, case-sensitive name of the class that handles events for this Feature.
Public property RequireResources Gets the Boolean value that specifies whether this feature is associated with localized resources.
Public property RootDirectory Gets the full local path to the root folder of the Feature.
Public property Scope Gets the scope of this Feature.
Public property SolutionId Gets the identifier of the solution used to deploy this Feature, or Empty if the Feature was added directly through a command-line operation or through the object model.
Public property Status Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.)
Public property TypeName Gets the display name that describes the object type in the administrative user interface. (Inherited from SPPersistedObject.)
Public property UIVersion Gets the version of the user interface in which this feature should be listed.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property UpgradeReceiverAssembly Gets the solution-relative path of the assembly that contains the UpgradeReceiverClass object.
Public property UpgradeReceiverClass Gets the name of the class implementing the feature's upgrade callbacks.
Public property Version Gets the current version of this Feature.
Protected property WasCreated Gets a Boolean value that indicates whether the object is initialized and can be found in the database. (Inherited from SPPersistedObject.)

Top

See Also

Reference

SPFeatureDefinition Class

Microsoft.SharePoint.Administration Namespace