Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
 SPFeatureDefinition Members

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SPFeatureDefinition Members (Microsoft.SharePoint.Administration)

Contains the base definition of an SPFeature, including its name, identifier, scope, and version.

The following tables list the members exposed by the SPFeatureDefinition type.

  Name Description
Public method SPFeatureDefinition This member is reserved for internal use and is not intended to be used directly from your code.
Top
  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 that 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 Specifies whether a default resource file exists for this feature.
Public property DisplayName Overridden. Gets the folder name for the Feature.
Public property Farm  Gets the server farm where the object lives.(inherited from SPPersistedObject)
Public property Hidden Gets a value that indicates whether the Feature is hidden within the Windows SharePoint Services 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 ID of the parent class that declares the object.(inherited from SPPersistedObject)
Public property Properties Gets a standardized property bag object that contains the 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 any external 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 UpgradedPersistedProperties  Gets the collection of field names and values for fields that were deleted or changed. (inherited from SPAutoSerializingObject)
Public property Version Gets the current version of this Feature.
Top
(see also Protected Methods )
  Name Description
Public method Clone  Returns a clone of the object that does not come from the in-memory cache, which enables calling code to help ensure thread safety.(inherited from SPPersistedObject)
Public method Delete Overridden. Removes the SPFeature object from the collection and the server farm.
Public method Equals  Overloaded. (inherited from SPPersistedObject)
Public method GetChild  Overloaded. (inherited from SPPersistedObject)
Public method GetDescription Returns the description of the Feature.
Public method GetElementDefinitions Returns the collection of element definitions contained within the Feature definition.
Public method Static GetFeatureIdAndScope Returns the identifier and scope of the Feature based on a string that specifies the location of its feature.xml file.
Public method GetHashCode  Serves as a hash function for the persisted object.(inherited from SPPersistedObject)
Public method GetImageAltText Gets a localized alternate text title for the feature image.
Public method GetImageUrl Returns the path to an image that is contained within the Local_Drive:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Template\Layouts directory and that provides an icon for this Feature.
Public method GetObjectData  (inherited from SPAutoSerializingObject)
Public method GetTitle Returns the title of the Feature.
Public method GetType  (inherited from Object)
Public method GetXmlDefinition Returns the XmlNode object that represents the Feature definition.
Public method Static op_Equality  (inherited from SPPersistedObject)
Public method Static op_Inequality  (inherited from SPPersistedObject)
Public method Provision  Makes the necessary changes to the local server to use the object.(inherited from SPPersistedObject)
Public method Static ReferenceEquals  (inherited from Object)
Public method SupportsLanguage Returns a Boolean value that indicates whether the Windows SharePoint Services deployment supports the language of the specified culture.
Public method ToString  Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on).(inherited from SPPersistedObject)
Public method Uncache  Frees the memory cache that is used by the object.(inherited from SPPersistedObject)
Public method Unprovision  Makes the necessary changes to the local server to clean up after deleting the object.(inherited from SPPersistedObject)
Public method Update  Overloaded. Causes the object to save its state and propagate changes to all the computers in the server farm.(inherited from SPPersistedObject)
Top
  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Protected method OnDeserialization  Called immediately after the base class deserializes itself to do additional work.(inherited from SPPersistedObject)
Protected method UpdateParent  Causes the containing SPPersistedObject, if one exists, to update its state. (inherited from SPAutoSerializingObject)
Protected method Validate  Validates the state of all fields before persisting the object. (inherited from SPPersistedObject)
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker