Membres SPService (Microsoft.SharePoint.Administration)

Represents a farm-wide service.

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

Constructeurs publics

(voir aussi Constructeurs protégés )

  Nom Description
Méthode publique SPService Surchargé. Initializes a new instance of the SPService class.

Haut de page

Constructeurs protégés

  Nom Description
Méthode protégée SPService Surchargé.  

Haut de page

Propriétés publiques

  Nom Description
Propriété publique CanUpgrade  Gets a value that indicates whether the object can be upgraded.(hérité de SPPersistedUpgradableObject)
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  Gets the server farm where the object lives.(hérité de SPPersistedObject)
Propriété publique Id  Gets or sets the GUID that is associated with the object. (hérité de SPPersistedObject)
Propriété publique Instances Gets a collection of all instances of the service in the server farm.
Propriété publique JobDefinitions Gets a collection of job definitions for this service.
Propriété publique Name  Gets or sets the name that identifies a particular instance of the object.(hérité de SPPersistedObject)
Propriété publique NeedsUpgrade  Gets or sets a Boolean value that specifies whether the object needs to be upgraded.(hérité de SPPersistedUpgradableObject)
Propriété publique NeedsUpgradeIncludeChildren  Gets a Boolean value that indicates whether the object should be upgraded, considering the children of the object.(hérité de SPPersistedUpgradableObject)
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 Required Gets a Boolean value that indicates whether an instance of the service must be running on at least one computer in the server farm.
Propriété publique RunningJobs Gets a collection of running jobs for this service.
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 UpgradeContext  Gets additional upgrade context. (hérité de SPPersistedUpgradableObject)
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 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 GetObjectData  (hérité de SPAutoSerializingObject)
Méthode publique GetType  (hérité de Object)
Méthode publique Invalidate  Invalidates computed property values of the IUpgradable interface.(hérité de SPPersistedUpgradableObject)
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 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é. Substitué. Causes the service to save its state and propagate changes to all the servers in the farm.
Méthode publique Upgrade  Surchargé. Upgrades the object.(hérité de SPPersistedUpgradableObject)

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

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