Membres SPFeatureDefinition (Microsoft.SharePoint.Administration)
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 .
Constructeurs publics
Nom | Description | |
---|---|---|
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
Propriétés publiques
Nom | Description | |
---|---|---|
ActivateOnDefault | Gets a value that specifies whether the Feature is activated upon installation by default. | |
ActivationDependencies | Gets the collection of Features that on which activation of this Feature depends. | |
AlwaysForceInstall | Gets a value that indicates whether the force flag is set to true by default during installation. | |
AutoActivateInCentralAdmin | Gets a value that specifies whether the Feature is activated on the central administrative Web site, site collection, or Web application upon installation. | |
DefaultResourceFile | Specifies whether a default resource file exists for this feature. | |
DisplayName | Substitué. Gets the folder name for the Feature. | |
Farm | Gets the server farm where the object lives.(hérité de SPPersistedObject) | |
Hidden | Gets a value that indicates whether the Feature is hidden within the Windows SharePoint Services user interface. | |
Id | Gets or sets the Guid that is associated with the object. | |
Name | Gets or sets the name that identifies a specific SPFeature object. | |
Parent | Gets the ID of the parent class that declares the object.(hérité de SPPersistedObject) | |
Properties | Gets a standardized property bag object that contains the per-Feature settings that are specified in the Feature definition. | |
ReceiverAssembly | Gets the strong name of the assembly that handles events for this Feature. | |
ReceiverClass | Gets the fully qualified, case-sensitive name of the class that handles events for this Feature. | |
RequireResources | Gets the Boolean value that specifies whether this feature is associated with any external resources. | |
RootDirectory | Gets the full local path to the root folder of the Feature. | |
Scope | Gets the scope of this Feature. | |
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. | |
Status | Gets or sets the status of the object that the class represents.(hérité de SPPersistedObject) | |
TypeName | Gets the display name that describes the object type in the administrative user interface. (hérité de SPPersistedObject) | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (hérité de SPAutoSerializingObject) | |
Version | Gets the current version of this Feature. |
Haut de page
Méthodes publiques
(voir aussi Méthodes protégées )
Nom | Description | |
---|---|---|
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) | |
Delete | Substitué. Removes the SPFeature object from the collection and the server farm. | |
Equals | Surchargé. (hérité de SPPersistedObject) | |
GetChild | Surchargé. (hérité de SPPersistedObject) | |
GetDescription | Returns the description of the Feature. | |
GetElementDefinitions | Returns the collection of element definitions contained within the Feature definition. | |
GetFeatureIdAndScope | Returns the identifier and scope of the Feature based on a string that specifies the location of its feature.xml file. | |
GetHashCode | Serves as a hash function for the persisted object.(hérité de SPPersistedObject) | |
GetImageAltText | Gets a localized alternate text title for the feature image. | |
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. |
|
GetObjectData | (hérité de SPAutoSerializingObject) | |
GetTitle | Returns the title of the Feature. | |
GetType | (hérité de Object) | |
GetXmlDefinition | Returns the XmlNode object that represents the Feature definition. | |
op_Equality | (hérité de SPPersistedObject) | |
op_Inequality | (hérité de SPPersistedObject) | |
Provision | Makes the necessary changes to the local server to use the object.(hérité de SPPersistedObject) | |
ReferenceEquals | (hérité de Object) | |
SupportsLanguage | Returns a Boolean value that indicates whether the Windows SharePoint Services deployment supports the language of the specified culture. | |
ToString | Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on).(hérité de SPPersistedObject) | |
Uncache | Frees the memory cache that is used by the object.(hérité de SPPersistedObject) | |
Unprovision | Makes the necessary changes to the local server to clean up after deleting the object.(hérité de SPPersistedObject) | |
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
Méthodes protégées
Nom | Description | |
---|---|---|
Finalize | (hérité de Object) | |
MemberwiseClone | (hérité de Object) | |
OnDeserialization | Called immediately after the base class deserializes itself to do additional work.(hérité de SPPersistedObject) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (hérité de SPAutoSerializingObject) | |
Validate | Validates the state of all fields before persisting the object. (hérité de SPPersistedObject) |
Haut de page
Voir aussi
Référence
SPFeatureDefinition, classe
Microsoft.SharePoint.Administration, espace de noms