Cette documentation est archivée et n’est pas conservée.

Membres SPFeatureDefinition (Microsoft.SharePoint.Administration)

Windows SharePoint Services 3

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

Les tableaux suivants contiennent la liste des membres exposés par le type SPFeatureDefinition .

  Nom Description
Méthode publique SPFeatureDefinition Ce membre est réservé à un usage interne et n'a pas été conçu pour être utilisé directement à partir du code.
Haut de page

  Nom Description
Propriété publique ActivateOnDefault Gets a value that specifies whether the Feature is activated upon installation by default.
Propriété publique ActivationDependencies Gets the collection of Features that on which activation of this Feature depends.
Propriété publique AlwaysForceInstall Gets a value that indicates whether the force flag is set to true by default during installation.
Propriété publique AutoActivateInCentralAdmin Gets a value that specifies whether the Feature is activated on the central administrative Web site, site collection, or Web application upon installation.
Propriété publique DefaultResourceFile Specifies whether a default resource file exists for this feature.
Propriété publique DisplayName Substitué. Gets the folder name for the Feature.
Propriété publique Farm  Gets the server farm where the object lives.(hérité de SPPersistedObject)
Propriété publique Hidden Gets a value that indicates whether the Feature is hidden within the Windows SharePoint Services user interface.
Propriété publique Id Gets or sets the Guid that is associated with the object.
Propriété publique Name Gets or sets the name that identifies a specific SPFeature object.
Propriété publique Parent  Gets the ID of the parent class that declares the object.(hérité de SPPersistedObject)
Propriété publique Properties Gets a standardized property bag object that contains the per-Feature settings that are specified in the Feature definition.
Propriété publique ReceiverAssembly Gets the strong name of the assembly that handles events for this Feature.
Propriété publique ReceiverClass Gets the fully qualified, case-sensitive name of the class that handles events for this Feature.
Propriété publique RequireResources Gets the Boolean value that specifies whether this feature is associated with any external resources.
Propriété publique RootDirectory Gets the full local path to the root folder of the Feature.
Propriété publique Scope Gets the scope of this Feature.
Propriété publique 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.
Propriété publique Status  Gets or sets the status of the object that the class represents.(hérité de SPPersistedObject)
Propriété publique TypeName  Gets the display name that describes the object type in the administrative user interface. (hérité de SPPersistedObject)
Propriété publique UpgradedPersistedProperties  Gets the collection of field names and values for fields that were deleted or changed. (hérité de SPAutoSerializingObject)
Propriété publique Version Gets the current version of this Feature.
Haut de page

(voir aussi Méthodes protégées )
  Nom Description
Méthode publique 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.(hérité de SPPersistedObject)
Méthode publique Delete Substitué. Removes the SPFeature object from the collection and the server farm.
Méthode publique Equals  Surchargé. (hérité de SPPersistedObject)
Méthode publique GetChild  Surchargé. (hérité de SPPersistedObject)
Méthode publique GetDescription Returns the description of the Feature.
Méthode publique GetElementDefinitions Returns the collection of element definitions contained within the Feature definition.
Méthode publique Statique GetFeatureIdAndScope Returns the identifier and scope of the Feature based on a string that specifies the location of its feature.xml file.
Méthode publique GetHashCode  Serves as a hash function for the persisted object.(hérité de SPPersistedObject)
Méthode publique GetImageAltText Gets a localized alternate text title for the feature image.
Méthode publique 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.
Méthode publique GetObjectData  (hérité de SPAutoSerializingObject)
Méthode publique GetTitle Returns the title of the Feature.
Méthode publique GetType  (hérité de Object)
Méthode publique GetXmlDefinition Returns the XmlNode object that represents the Feature definition.
Méthode publique Statique op_Equality  (hérité de SPPersistedObject)
Méthode publique Statique op_Inequality  (hérité de SPPersistedObject)
Méthode publique Provision  Makes the necessary changes to the local server to use the object.(hérité de SPPersistedObject)
Méthode publique Statique ReferenceEquals  (hérité de Object)
Méthode publique SupportsLanguage Returns a Boolean value that indicates whether the Windows SharePoint Services deployment supports the language of the specified culture.
Méthode publique ToString  Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on).(hérité de SPPersistedObject)
Méthode publique Uncache  Frees the memory cache that is used by the object.(hérité de SPPersistedObject)
Méthode publique Unprovision  Makes the necessary changes to the local server to clean up after deleting the object.(hérité de SPPersistedObject)
Méthode publique Update  Surchargé. Causes the object to save its state and propagate changes to all the computers in the server farm.(hérité de SPPersistedObject)
Haut de page

  Nom Description
Méthode protégée Finalize  (hérité de Object)
Méthode protégée MemberwiseClone  (hérité de Object)
Méthode protégée OnDeserialization  Called immediately after the base class deserializes itself to do additional work.(hérité de SPPersistedObject)
Méthode protégée UpdateParent  Causes the containing SPPersistedObject, if one exists, to update its state. (hérité de SPAutoSerializingObject)
Méthode protégée Validate  Validates the state of all fields before persisting the object. (hérité de SPPersistedObject)
Haut de page
Afficher: