Membres SPSolution (Microsoft.SharePoint.Administration)

Represents a solution on a farm.

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

Constructeurs publics

  Nom Description
Méthode publique SPSolution 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
Propriété publique Added Gets a value specifying whether a language-neutral solution package has been added to this solution.
Propriété publique ContainsCasPolicy Gets a Boolean value that indicates whether the solution contains Code Access Security (CAS) policies.
Propriété publique ContainsGlobalAssembly Returns a value indicating whether the solution contains an assembly that is installed in the global assembly cache.
Propriété publique ContainsWebApplicationResource Gets a value indicating whether the solution contains any web application-specific resources to deploy.
Propriété publique Deployed Returns a value indicating whether the solution is deployed to one or more web applications in the farm.
Propriété publique DeployedServers Gets the collection of servers to which the solution is deployed.
Propriété publique DeployedWebApplications Gets the collection of web applications to which this solution is deployed.
Propriété publique DeploymentState Gets a value indicating whether the solution has been deployed, and if so, whether it has assemblies installed in the global assembly cache, in the application's bin directory, or both.
Propriété publique DisplayName  Gets the display name that describes the persisted object instance within the administrative user interface.(hérité de SPPersistedObject)
Propriété publique Farm The farm on which this solution is installed.
Propriété publique Id  Gets or sets the GUID that is associated with the object. (hérité de SPPersistedObject)
Propriété publique IsWebPartPackage Returns a value indicating whether the solution represents a web part package.
Propriété publique JobExists Specifies whether a timer job exists for this SPSolution.
Propriété publique JobStatus Gets the job status that is associated with the language-neutral solution or Web Part package.
Propriété publique LanguagePacks Returns the list of language packages associated with this solution.
Propriété publique LastOperationDetails Returns details of the last operation while deploying the solution.
Propriété publique LastOperationEndTime Returns the date and time that the last operation ended.
Propriété publique LastOperationResult Returns the result of the last operation.
Propriété publique Name Returns the name of the solution.
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 property bag that is used to store properties for the persisted object.(hérité de SPPersistedObject)
Propriété publique SolutionFile Returns the file associated with the solution.
Propriété publique SolutionId Returns the solution id specified in the manifest file.
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 time that the object was last updated.(hérité de SPPersistedObject)

Haut de page

Méthodes publiques

(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  Removes the object from the collection and the server farm.(hérité de SPPersistedObject)
Méthode publique Deploy Surchargé. Deploys the language neutral solution or Web Part package.
Méthode publique DeployLocal Surchargé. Deploys the language neutral solution or Web Part package on the local server.
Méthode publique Equals  Surchargé. (hérité de SPPersistedObject)
Méthode publique GetChild  Surchargé. (hérité de SPPersistedObject)
Méthode publique GetHashCode  Serves as a hash function for the persisted object.(hérité de SPPersistedObject)
Méthode publique GetLanguagePack Returns the language pack in the solution for the specified locale identifier.
Méthode publique GetObjectData  (hérité de SPAutoSerializingObject)
Méthode publique GetType  (hérité de Object)
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 Retract Surchargé. Retracts a solution.
Méthode publique RetractLocal Surchargé. Retracts the solution from the local server.
Méthode publique Synchronize Synchronizes the solution on this machine with other machines in the farm.
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)
Méthode publique Upgrade Surchargé. Upgrades the solution from a previous version to the current version.

Haut de page

Méthodes protégées

  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

Voir aussi

Référence

SPSolution, classe
Microsoft.SharePoint.Administration, espace de noms

Autres ressources

Creating a Solution
Solutions Overview