SPFarm SPFarm SPFarm Class

Definition

public ref class SPFarm : Microsoft::SharePoint::Administration::SPPersistedUpgradableObject, Microsoft::SharePoint::Administration::Backup::IBackupRestoreConfiguration, Microsoft::SharePoint::Administration::IMigratable
[Microsoft.SharePoint.Upgrade.Upgradable]
[System.Runtime.InteropServices.Guid("674DA553-EA77-44a3-B9F8-3F70D786DE6A")]
public class SPFarm : Microsoft.SharePoint.Administration.SPPersistedUpgradableObject, Microsoft.SharePoint.Administration.Backup.IBackupRestoreConfiguration, Microsoft.SharePoint.Administration.IMigratable
Public Class SPFarm
Inherits SPPersistedUpgradableObject
Implements IBackupRestoreConfiguration, IMigratable
Inheritance
Attributes
Implements

Constructors

SPFarm() SPFarm() SPFarm()

Properties

AlternateUrlCollections AlternateUrlCollections AlternateUrlCollections
BuildVersion BuildVersion BuildVersion
CanBackupRestoreAsConfiguration CanBackupRestoreAsConfiguration CanBackupRestoreAsConfiguration
CanMigrate CanMigrate CanMigrate
CanRenameOnRestore CanRenameOnRestore CanRenameOnRestore
CanSelectForBackup CanSelectForBackup CanSelectForBackup
CanSelectForRestore CanSelectForRestore CanSelectForRestore
CanUpgrade CanUpgrade CanUpgrade Inherited from SPPersistedUpgradableObject
CEIPEnabled CEIPEnabled CEIPEnabled
DaysBeforePasswordExpirationToSendEmail DaysBeforePasswordExpirationToSendEmail DaysBeforePasswordExpirationToSendEmail
DefaultServiceAccount DefaultServiceAccount DefaultServiceAccount
DiagnosticsProviders DiagnosticsProviders DiagnosticsProviders
DiskSizeRequired DiskSizeRequired DiskSizeRequired
DisplayName DisplayName DisplayName Inherited from SPPersistedObject
DownloadErrorReportingUpdates DownloadErrorReportingUpdates DownloadErrorReportingUpdates
EncodedFarmId EncodedFarmId EncodedFarmId
ErrorReportingAutomaticUpload ErrorReportingAutomaticUpload ErrorReportingAutomaticUpload
ErrorReportingEnabled ErrorReportingEnabled ErrorReportingEnabled
Farm Farm Farm Inherited from SPPersistedObject
FeatureDefinitions FeatureDefinitions FeatureDefinitions
Id Id Id Inherited from SPPersistedObject
IsBackwardsCompatible IsBackwardsCompatible IsBackwardsCompatible Inherited from SPPersistedUpgradableObject
IsPaired IsPaired IsPaired
Joined Joined Joined
Local Local Local
Name Name Name Inherited from SPPersistedObject
NeedsUpgrade NeedsUpgrade NeedsUpgrade Inherited from SPPersistedUpgradableObject
NeedsUpgradeIncludeChildren NeedsUpgradeIncludeChildren NeedsUpgradeIncludeChildren Inherited from SPPersistedUpgradableObject
PairConnectionString PairConnectionString PairConnectionString
Parent Parent Parent Inherited from SPPersistedObject
PasswordChangeEmailAddress PasswordChangeEmailAddress PasswordChangeEmailAddress
PasswordChangeGuardTime PasswordChangeGuardTime PasswordChangeGuardTime
PasswordChangeMaximumTries PasswordChangeMaximumTries PasswordChangeMaximumTries
PersistedFileChunkSize PersistedFileChunkSize PersistedFileChunkSize
Products Products Products
Properties Properties Properties Inherited from SPPersistedObject
ServerDebugFlags ServerDebugFlags ServerDebugFlags
Servers Servers Servers
ServiceApplicationProxyGroups ServiceApplicationProxyGroups ServiceApplicationProxyGroups
ServiceProxies ServiceProxies ServiceProxies
Services Services Services
SiteSubscriptions SiteSubscriptions SiteSubscriptions
Solutions Solutions Solutions
Status Status Status Inherited from SPPersistedObject
TimerService TimerService TimerService
TraceSessionGuid TraceSessionGuid TraceSessionGuid
TypeName TypeName TypeName
UpgradeContext UpgradeContext UpgradeContext Inherited from SPPersistedUpgradableObject
UpgradedPersistedProperties UpgradedPersistedProperties UpgradedPersistedProperties Inherited from SPAutoSerializingObject
UseMinWidthForHtmlPicker UseMinWidthForHtmlPicker UseMinWidthForHtmlPicker
UserLicensingEnabled UserLicensingEnabled UserLicensingEnabled
Version Version Version Inherited from SPPersistedObject
WasCreated WasCreated WasCreated Inherited from SPPersistedObject
XsltTransformTimeOut XsltTransformTimeOut XsltTransformTimeOut

Methods

AddBackupObjects(SPBackupRestoreObject) AddBackupObjects(SPBackupRestoreObject) AddBackupObjects(SPBackupRestoreObject)
AddSPPersistedChildren(SPBackupRestoreObject) AddSPPersistedChildren(SPBackupRestoreObject) AddSPPersistedChildren(SPBackupRestoreObject)
Clone() Clone() Clone() Inherited from SPPersistedObject
Create(SqlConnectionStringBuilder) Create(SqlConnectionStringBuilder) Create(SqlConnectionStringBuilder)
Create(SqlConnectionStringBuilder, SqlConnectionStringBuilder, String, SecureString) Create(SqlConnectionStringBuilder, SqlConnectionStringBuilder, String, SecureString) Create(SqlConnectionStringBuilder, SqlConnectionStringBuilder, String, SecureString)
Create(SqlConnectionStringBuilder, SqlConnectionStringBuilder, String, SecureString, SecureString) Create(SqlConnectionStringBuilder, SqlConnectionStringBuilder, String, SecureString, SecureString) Create(SqlConnectionStringBuilder, SqlConnectionStringBuilder, String, SecureString, SecureString)
Create(SqlConnectionStringBuilder, String, SecureString) Create(SqlConnectionStringBuilder, String, SecureString) Create(SqlConnectionStringBuilder, String, SecureString)
Create(SqlConnectionStringBuilder, String, SecureString, SecureString) Create(SqlConnectionStringBuilder, String, SecureString, SecureString) Create(SqlConnectionStringBuilder, String, SecureString, SecureString)
Create(SqlConnectionStringBuilder, String, String) Create(SqlConnectionStringBuilder, String, String) Create(SqlConnectionStringBuilder, String, String)
Create(String) Create(String) Create(String)
CurrentUserIsAdministrator() CurrentUserIsAdministrator() CurrentUserIsAdministrator()
CurrentUserIsAdministrator(Boolean) CurrentUserIsAdministrator(Boolean) CurrentUserIsAdministrator(Boolean)
Delete() Delete() Delete() Inherited from SPPersistedObject
DisableCaching() DisableCaching() DisableCaching()
EnableCaching() EnableCaching() EnableCaching()
Equals(Object) Equals(Object) Equals(Object) Inherited from SPPersistedObject
GetChild<T>() GetChild<T>() GetChild<T>() Inherited from SPPersistedObject
GetChild<T>(String) GetChild<T>(String) GetChild<T>(String) Inherited from SPPersistedObject
GetFeatureDefinitionsByVersion(Int32) GetFeatureDefinitionsByVersion(Int32) GetFeatureDefinitionsByVersion(Int32)
GetHashCode() GetHashCode() GetHashCode() Inherited from SPPersistedObject
GetObject(Guid) GetObject(Guid) GetObject(Guid)
GetObject(String, Guid, Type) GetObject(String, Guid, Type) GetObject(String, Guid, Type)
GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) Inherited from SPAutoSerializingObject
GetPersistedFeatureDefinition(Guid, Int32) GetPersistedFeatureDefinition(Guid, Int32) GetPersistedFeatureDefinition(Guid, Int32)
GetPersistedFeatureDefinition(Guid, Int32, Boolean) GetPersistedFeatureDefinition(Guid, Int32, Boolean) GetPersistedFeatureDefinition(Guid, Int32, Boolean)
HasAdditionalUpdateAccess() HasAdditionalUpdateAccess() HasAdditionalUpdateAccess() Inherited from SPPersistedObject
Invalidate() Invalidate() Invalidate() Inherited from SPPersistedUpgradableObject
Join() Join() Join()
Migrate() Migrate() Migrate()
Migrate(Boolean) Migrate(Boolean) Migrate(Boolean)
MigrateGroup(String, String) MigrateGroup(String, String) MigrateGroup(String, String)
MigrateUserAccount(Guid, String, String, Boolean) MigrateUserAccount(Guid, String, String, Boolean) MigrateUserAccount(Guid, String, String, Boolean)
MigrateUserAccount(String, String, Boolean) MigrateUserAccount(String, String, Boolean) MigrateUserAccount(String, String, Boolean)
OnAbort(Object, SPBackupRestoreInformation) OnAbort(Object, SPBackupRestoreInformation) OnAbort(Object, SPBackupRestoreInformation)
OnBackup(Object, SPBackupInformation) OnBackup(Object, SPBackupInformation) OnBackup(Object, SPBackupInformation)
OnBackupComplete(Object, SPBackupInformation) OnBackupComplete(Object, SPBackupInformation) OnBackupComplete(Object, SPBackupInformation)
OnDeserialization() OnDeserialization() OnDeserialization() Inherited from SPPersistedObject
OnPostRestore(Object, SPRestoreInformation) OnPostRestore(Object, SPRestoreInformation) OnPostRestore(Object, SPRestoreInformation)
OnPrepareBackup(Object, SPBackupInformation) OnPrepareBackup(Object, SPBackupInformation) OnPrepareBackup(Object, SPBackupInformation)
OnPreRestore(Object, SPRestoreInformation) OnPreRestore(Object, SPRestoreInformation) OnPreRestore(Object, SPRestoreInformation)
OnRestore(Object, SPRestoreInformation) OnRestore(Object, SPRestoreInformation) OnRestore(Object, SPRestoreInformation)
Open(SqlConnectionStringBuilder, SecureString) Open(SqlConnectionStringBuilder, SecureString) Open(SqlConnectionStringBuilder, SecureString)
Open(SqlConnectionStringBuilder, String, SecureString) Open(SqlConnectionStringBuilder, String, SecureString) Open(SqlConnectionStringBuilder, String, SecureString)
Open(SqlConnectionStringBuilder, String, String) Open(SqlConnectionStringBuilder, String, String) Open(SqlConnectionStringBuilder, String, String)
Open(String) Open(String) Open(String)
Provision() Provision() Provision() Inherited from SPPersistedObject
RemoveObsoleteClass(Guid) RemoveObsoleteClass(Guid) RemoveObsoleteClass(Guid)
ToString() ToString() ToString() Inherited from SPPersistedObject
Uncache() Uncache() Uncache() Inherited from SPPersistedObject
Unjoin() Unjoin() Unjoin()
Unprovision() Unprovision() Unprovision() Inherited from SPPersistedObject
Update() Update() Update()
Update(Boolean) Update(Boolean) Update(Boolean) Inherited from SPPersistedObject
UpdateParent() UpdateParent() UpdateParent() Inherited from SPAutoSerializingObject
UpdateServerDebugFlags() UpdateServerDebugFlags() UpdateServerDebugFlags()
Upgrade() Upgrade() Upgrade() Inherited from SPPersistedUpgradableObject
Upgrade(Boolean) Upgrade(Boolean) Upgrade(Boolean) Inherited from SPPersistedUpgradableObject
Validate() Validate() Validate() Inherited from SPPersistedObject
ValidateBackwardsCompatibility() ValidateBackwardsCompatibility() ValidateBackwardsCompatibility() Inherited from SPPersistedUpgradableObject

Events

ObjectChanged ObjectChanged ObjectChanged
ObjectCreated ObjectCreated ObjectCreated
ObjectDeleted ObjectDeleted ObjectDeleted
ObjectsRestored ObjectsRestored ObjectsRestored

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to