Membres SPFarm (Microsoft.SharePoint.Administration)

Represents a Windows SharePoint Services farm.

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

Constructeurs publics

  Nom Description
Méthode publique SPFarm Reserved for internal use only.

Haut de page

Propriétés publiques

  Nom Description
Propriété publique AlternateUrlCollections Gets the collection of alternate URL objects in the farm.
Propriété publique BuildVersion Gets the Windows SharePoint Services build version of the server farm.
Propriété publique CanMigrate Gets a Boolean value that indicates whether a server farm can be migrated from a Windows SharePoint Services 2.0 farm with which it is paired.
Propriété publique CanRenameOnRestore Gets a Boolean value that indicates whether the server farm can be renamed when it is restored.
Propriété publique CanSelectForBackup Gets or sets a Boolean value that specifies whether the server farm can be selected for backup in the Central Administration user interface.
Propriété publique CanSelectForRestore Gets or sets a Boolean value that specifies whether the server farm can be selected for restore operations in the Central Administration user interface.
Propriété publique CanUpgrade  Gets a value that indicates whether the object can be upgraded.(hérité de SPPersistedUpgradableObject)
Propriété publique CEIPEnabled Gets or sets a Boolean value that specifies whether Software Quality Metrics (SQM) data collection is enabled in the server farm to improve customer experience.
Propriété publique DiskSizeRequired Gets the amount of disk space that is required for a backup.
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 DownloadErrorReportingUpdates Gets or sets a Boolean value that specifies whether to download updates for an application that performs crash data collection and error reporting within the server farm.
Propriété publique ErrorReportingAutomaticUpload Gets or sets a Boolean value that specifies whether to trigger automatic upload of crash data collection and error reporting in the server farm.
Propriété publique ErrorReportingEnabled Gets or sets a Boolean value that specifies whether to enable an application that performs crash data collection and error reporting in the server farm.
Propriété publique ExternalBinaryStoreClassId Gets the class id that is associated with the external binary store (EBS).
Propriété publique Farm  Gets the server farm where the object lives.(hérité de SPPersistedObject)
Propriété publique FeatureDefinitions Gets the collection of Feature definitions that are available in the server farm.
Propriété publique Id  Gets or sets the GUID that is associated with the object. (hérité de SPPersistedObject)
Propriété publique IsPaired Gets or sets a Boolean value that specifies whether the server farm is paired to a Windows SharePoint Services 2.0 farm.
Propriété publique Statique Joined Gets a Boolean value that indicates whether the local server has been joined to a server farm.
Propriété publique Statique Local Gets an object that represents the local server farm.
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 PairConnectionString Gets or sets the connection string to the Windows SharePoint Services 2.0 server farm with which this farm is paired.
Propriété publique Parent  Gets the ID of the parent class that declares the object.(hérité de SPPersistedObject)
Propriété publique PersistedFileChunkSize Gets or sets the number of bytes to retrieve from or send to the configuration database during a read/write operation when transferring files.
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 Servers Gets the collection of all physical computers that are in the local server farm.
Propriété publique Services Gets the collection of all services that are in the server farm.
Propriété publique Solutions Gets the collection of all solutions that are in the server farm.
Propriété publique Status  Gets or sets the status of the object that the class represents.(hérité de SPPersistedObject)
Propriété publique TimerService Gets the timer service that is associated with the server farm.
Propriété publique TraceSessionGuid Gets the static GUID that is used to register a trace session.
Propriété publique TypeName Substitué. Gets the display name that is used to describe the object type in the Central Administration user interface.
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 AddBackupObjects Adds the server farm and its children to the backup/restore operation. This method implements the AddBackupObjects method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPFarm class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from the catastrophic backup and restore infrastructure code in Windows SharePoint Services.
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 Statique Create Surchargé. Creates a server farm and its associated configuration database.
Méthode publique CurrentUserIsAdministrator Returns a Boolean value that indicates whether the current user is an administrator in the server farm.
Méthode publique Delete  Removes the object from the collection and the server farm.(hérité de SPPersistedObject)
Méthode publique DisableCaching Disables the file system and in-memory caches of configuration objects in the server farm.
Méthode publique EnableCaching Enables the file system and in-memory caches of configuration objects in the server farm.
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 GetObject Surchargé. Returns the specified object.
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 Join Adds the local computer to the server farm.
Méthode publique Migrate Surchargé. Migrates settings from the Windows SharePoint Services 2.0 server farm with which this farm is paired.
Méthode publique MigrateUserAccount Migrates a user account in Windows SharePoint Services to a new login name and binary ID.
Méthode publique OnAbort Called when the backup operation terminates unexpectedly. This method implements the OnAbort method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPFarm class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from catastrophic backup and restore infrastructure code in Windows SharePoint Services.
Méthode publique OnBackup Called when the server farm is being backed up. This method implements the OnBackup method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPFarm class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from catastrophic backup and restore infrastructure code in Windows SharePoint Services.
Méthode publique OnBackupComplete Called after the backup operation has completed. This method implements the OnBackupComplete method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPFarm class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from catastrophic backup and restore infrastructure code in Windows SharePoint Services.
Méthode publique OnPostRestore Called after the restore operation has completed. This method implements the OnPostRestore method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPFarm class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from catastrophic backup and restore infrastructure code in Windows SharePoint Services.
Méthode publique OnPrepareBackup Called before the backup operation begins. This method implements the OnPrepareBackup method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPFarm class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from catastrophic backup and restore infrastructure code in Windows SharePoint Services.
Méthode publique OnPreRestore Called before the restore operation begins. This method implements the OnPreRestore method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPFarm class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from catastrophic backup and restore infrastructure code in Windows SharePoint Services.
Méthode publique OnRestore Called when the farm is being restored. This method implements the OnRestore method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPFarm class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from catastrophic backup and restore infrastructure code in Windows SharePoint Services.
Méthode publique Statique op_Equality  (hérité de SPPersistedObject)
Méthode publique Statique op_Inequality  (hérité de SPPersistedObject)
Méthode publique Statique Open Surchargé. Returns a remote server farm.
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 Unjoin Removes the local server from the farm.
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é.  
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 Substitué. Called after the object has been deserialized from the file system cache or the database.
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

Événements publics

  Nom Description
Événement public Statique ObjectChanged Raised after any configuration object in the system that is above the level of a site collection (SPSite) is changed. This event is raised on all computers in the server farm after the caches have been refreshed, but it is not raised if caching is disabled for the process.
Événement public Statique ObjectCreated Raised after any configuration object in the system above the level of a site collection (SPSite) is created. This event is raised on all computers in the server farm after the caches have been refreshed, but it is not raised if caching is disabled for the process.
Événement public Statique ObjectDeleted Raised after any configuration object in the system above the level of a site collection (SPSite) is deleted. This event is raised on all computers in the server farm after the caches have been refreshed, but it is not raised if caching is disabled for the process.
Événement public Statique ObjectsRestored Raised after any configuration object in the system above the level of a site collection (SPSite) is restored. This event is raised on all computers in the server farm after the caches have been refreshed, but it is not raised if caching is disabled for the process.

Haut de page

Voir aussi

Référence

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