SPFarm 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
type SPFarm = class
    inherit SPPersistedUpgradableObject
    interface IBackupRestoreConfiguration
    interface IBackupRestore
    interface IMigratable
Public Class SPFarm
Inherits SPPersistedUpgradableObject
Implements IBackupRestoreConfiguration, IMigratable
Inheritance
Attributes
Implements

Constructors

SPFarm() SPFarm() SPFarm() SPFarm()

Properties

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

Methods

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

Events

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

Extension Methods

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

Applies to