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 | |
---|---|---|
SPFarm | Reserved for internal use only. |
Haut de page
Propriétés publiques
Nom | Description | |
---|---|---|
AlternateUrlCollections | Gets the collection of alternate URL objects in the farm. | |
BuildVersion | Gets the Windows SharePoint Services build version of the server farm. | |
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. | |
CanRenameOnRestore | Gets a Boolean value that indicates whether the server farm can be renamed when it is restored. | |
CanSelectForBackup | Gets or sets a Boolean value that specifies whether the server farm can be selected for backup in the Central Administration user interface. | |
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. | |
CanUpgrade | Gets a value that indicates whether the object can be upgraded.(hérité de SPPersistedUpgradableObject) | |
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. | |
DiskSizeRequired | Gets the amount of disk space that is required for a backup. | |
DisplayName | Gets the display name that describes the persisted object instance within the administrative user interface.(hérité de SPPersistedObject) | |
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. | |
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. | |
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. | |
ExternalBinaryStoreClassId | Gets the class id that is associated with the external binary store (EBS). | |
Farm | Gets the server farm where the object lives.(hérité de SPPersistedObject) | |
FeatureDefinitions | Gets the collection of Feature definitions that are available in the server farm. | |
Id | Gets or sets the GUID that is associated with the object. (hérité de SPPersistedObject) | |
IsPaired | Gets or sets a Boolean value that specifies whether the server farm is paired to a Windows SharePoint Services 2.0 farm. | |
Joined | Gets a Boolean value that indicates whether the local server has been joined to a server farm. | |
Local | Gets an object that represents the local server farm. | |
Name | Gets or sets the name that identifies a particular instance of the object.(hérité de SPPersistedObject) | |
NeedsUpgrade | Gets or sets a Boolean value that specifies whether the object needs to be upgraded.(hérité de SPPersistedUpgradableObject) | |
NeedsUpgradeIncludeChildren | Gets a Boolean value that indicates whether the object should be upgraded, considering the children of the object.(hérité de SPPersistedUpgradableObject) | |
PairConnectionString | Gets or sets the connection string to the Windows SharePoint Services 2.0 server farm with which this farm is paired. | |
Parent | Gets the ID of the parent class that declares the object.(hérité de SPPersistedObject) | |
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. | |
Properties | Gets a property bag that is used to store properties for the persisted object.(hérité de SPPersistedObject) | |
Servers | Gets the collection of all physical computers that are in the local server farm. | |
Services | Gets the collection of all services that are in the server farm. | |
Solutions | Gets the collection of all solutions that are in the server farm. | |
Status | Gets or sets the status of the object that the class represents.(hérité de SPPersistedObject) | |
TimerService | Gets the timer service that is associated with the server farm. | |
TraceSessionGuid | Gets the static GUID that is used to register a trace session. | |
TypeName | Substitué. Gets the display name that is used to describe the object type in the Central Administration user interface. | |
UpgradeContext | Gets additional upgrade context. (hérité de SPPersistedUpgradableObject) | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (hérité de SPAutoSerializingObject) | |
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 | |
---|---|---|
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. | |
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) | |
Create | Surchargé. Creates a server farm and its associated configuration database. | |
CurrentUserIsAdministrator | Returns a Boolean value that indicates whether the current user is an administrator in the server farm. | |
Delete | Removes the object from the collection and the server farm.(hérité de SPPersistedObject) | |
DisableCaching | Disables the file system and in-memory caches of configuration objects in the server farm. | |
EnableCaching | Enables the file system and in-memory caches of configuration objects in the server farm. | |
Equals | Surchargé. (hérité de SPPersistedObject) | |
GetChild | Surchargé. (hérité de SPPersistedObject) | |
GetHashCode | Serves as a hash function for the persisted object.(hérité de SPPersistedObject) | |
GetObject | Surchargé. Returns the specified object. | |
GetObjectData | (hérité de SPAutoSerializingObject) | |
GetType | (hérité de Object) | |
Invalidate | Invalidates computed property values of the IUpgradable interface.(hérité de SPPersistedUpgradableObject) | |
Join | Adds the local computer to the server farm. | |
Migrate | Surchargé. Migrates settings from the Windows SharePoint Services 2.0 server farm with which this farm is paired. | |
MigrateUserAccount | Migrates a user account in Windows SharePoint Services to a new login name and binary ID. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
op_Equality | (hérité de SPPersistedObject) | |
op_Inequality | (hérité de SPPersistedObject) | |
Open | Surchargé. Returns a remote server farm. | |
Provision | Makes the necessary changes to the local server to use the object.(hérité de SPPersistedObject) | |
ReferenceEquals | (hérité de Object) | |
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) | |
Unjoin | Removes the local server from the farm. | |
Unprovision | Makes the necessary changes to the local server to clean up after deleting the object.(hérité de SPPersistedObject) | |
Update | Surchargé. Substitué. | |
Upgrade | Surchargé. Upgrades the object.(hérité de SPPersistedUpgradableObject) |
Haut de page
Méthodes protégées
Nom | Description | |
---|---|---|
Finalize | (hérité de Object) | |
MemberwiseClone | (hérité de Object) | |
OnDeserialization | Substitué. Called after the object has been deserialized from the file system cache or the database. | |
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
Événements publics
Nom | Description | |
---|---|---|
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. | |
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. | |
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. | |
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