SPWebApplication methods
The SPWebApplication type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddBackupObjects | Adds the Web application and its children to the backup/restore job. | |
AddMigrateUserToClaimsPolicy | Add the permissions necessary to perform migration from legacy auth to claims based auth for the given windows account name (domain\username) | |
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. (Inherited from SPPersistedObject.) | |
CurrentUserIgnoreThrottle | Detects whether throttling can be ignored for the current Web application. Throttling can be ignored if the current user has administrator-level privileges for computer or if throttling is not set to occur in the current window of time. | |
Delete | Removes the Web application and some of the resources that it owns. (Overrides SPPersistedObject.Delete().) | |
EnsureDefaultJobs | Ensures that the default timer job definitions exist for the Web application. | |
Equals | Determines whether the current persisted object equals the specified object. (Inherited from SPPersistedObject.) | |
Finalize | (Inherited from Object.) | |
GetChild<T>() | Returns the child of the persisted object based on the specified type. (Inherited from SPPersistedObject.) | |
GetChild<T>(String) | Returns the child object of the persisted object based on the specified name. (Inherited from SPPersistedObject.) | |
GetDeletedSites() | Gets a list of deleted sites using a default query. | |
GetDeletedSites(Guid) | Gets a list of deleted sites with the specified site collection identifier (ID). | |
GetDeletedSites(String) | Gets a list of deleted sites with the specified prefix of a server-relative URL. | |
GetDeletedSites(SPDeletedSiteQuery) | Gets a list of deleted sites using the specified query. | |
GetHashCode | Serves as a hash function for the persisted object. (Inherited from SPPersistedObject.) | |
GetIisSettingsWithFallback | Returns the set of Internet Information Services (IIS) settings for the specified zone. | |
GetListItemLastModifiedDates | For a collections of list URLs, return the list item last modified dates of each list. | |
GetMappedPage(String) | Returns the location of the customized application page. | |
GetMappedPage(SPWebApplication.SPCustomPage) | Returns the location of the customized application page. | |
GetObjectData | Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.) | |
GetRequestPath | Obsolete. This member is reserved for internal use and is not intended to be used directly from your code. | |
GetResponseUri(SPUrlZone) | Returns the absolute root of the URI for the given zone. | |
GetResponseUri(SPUrlZone, String) | Retrieves the absolute root of the URI for the given zone and appends the specified path to the end. | |
GetSecurityTokenServiceEndPointAddress | Returns the endpoint URI of the security token service based on the specified request zone. | |
GetSelfServiceCreationPageUrl | Determines the appropriate Url for the Self Service Create page. | |
GetType | (Inherited from Object.) | |
GetVersionedMappedPage(String) | ||
GetVersionedMappedPage(SPWebApplication.SPCustomPage, Int32) | ||
GrantAccessToProcessIdentity(String) | Grants the specified process identity account access to the Web application based on the username. Access to the process identity provides the permissions that are specified in the policy role parameter. | |
GrantAccessToProcessIdentity(String, SPPolicyRoleType) | Grants the specified process identity account access to the Web application based on the name of the user and the level of access. Access to the process identity provides full control of the SharePoint Web application. | |
HasAdditionalUpdateAccess | Override this method to allow more users to update the object. (Inherited from SPPersistedObject.) | |
InstallClaimsAuthFiles | This member is reserved for internal use and is not intended to be used directly from your code. | |
InstallFiles | Installs the Microsoft ASP .NET configuration and resource files that are required to provision the application. | |
Invalidate | Invalidates computed property values. (Inherited from SPPersistedUpgradableObject.) | |
IsUnthrottledPrivilegedOperationsAllowed | Returns a Boolean value that indicates whether the current time is included in the unthrottled service window. | |
IsUserLicensedForEntity | Checks if the currently logged in user has the proper license to access the specified entity. | |
LegacyUpdate | (Inherited from SPPersistedObject.) | |
Lookup | Finds the Web application that is located at the specified URL. | |
MemberwiseClone | (Inherited from Object.) | |
Migrate() | Obsolete. Migrates the settings from a Windows SharePoint Services 2.0 Web application with which the Web application is paired. | |
Migrate(Boolean) | Obsolete. Migrates the settings from a Windows SharePoint Services 2.0 Web application with which the Web application is paired, with the option of including all children. | |
MigrateEntities(IMigrateEntityForWebApplicationCallback, SPMigrateEntitiesOperationParameters) | ||
MigrateEntities(SPWebApplication.IMigrateUserCallback, SPMigrateEntitiesOperationParameters) | ||
MigrateUsers(Boolean) | Obsolete. Converts existing users to or from accounts that use claims authentication. | |
MigrateUsers(SPWebApplication.IMigrateUserCallback) | Migrates users to claims authentication. | |
MigrateUsers(SPWebApplication.IMigrateUserCallback, SPWebApplication.SPMigrateUserParameters) | Migrates users to claims authentication. | |
MigrateUsersToClaims(NTAccount, Boolean) | Migrates users from legacy authentication to claims-based authentication. | |
MigrateUsersToClaims(NTAccount, Boolean, SPWebApplication.SPMigrateUserParameters) | Migrates users from legacy authentication to claims-based authentication. | |
OnAbort | Raises the Abort (backup) event. | |
OnBackup | Raises the Backup event. | |
OnBackupComplete | Raises the BackupComplete event. | |
OnDeserialization | Called after the object has been deserialized from the file system cache or the database. (Overrides SPPersistedObject.OnDeserialization().) | |
OnPostCreate | (Overrides SPPersistedObject.OnPostCreate().) | |
OnPostRestore | Raises the PostRestore event. | |
OnPreCreate | (Overrides SPPersistedObject.OnPreCreate().) | |
OnPrepareBackup | Raises the PreBackup event. | |
OnPreRestore | Raises the PreRestore event. | |
OnRestore | Raises the Restore event. | |
Provision | Provisions the application on the local server, including content databases if necessary. (Overrides SPPersistedObject.Provision().) | |
ProvisionGlobally | Provisions the Web application to all servers that are running the current object's parent Web service. | |
QueryFeatures(Guid) | Retrieves all features in the current Web application that are scoped to Site or Web and have the specified feature identifier. | |
QueryFeatures(SPFeatureScope, Boolean) | Retrieves all features in the current Web application that are scoped to Site or Web and have a specific needsUpgrade state. | |
QueryFeatures(Guid, Boolean) | Retrieves all features in the current Web application that are scoped to Site or Web and have the specified feature identifier and requirement for upgrade. | |
QueryFeatures(Guid, Version) | Retrieves all features in the current Web application that are scoped to Site or Web and have the specified feature and version identifiers. | |
RemoveIdentityFromLocalGroups | Removes the current application pool from local groups if it is not used by other Web applications on the server. | |
RenameApplicationPool | Renames the application pool on all servers and updates the database. | |
RequireDynamicCanary | If this UrlZone requires dynamic canary | |
RunWithConcurrencyRetries | (Inherited from SPPersistedObject.) | |
SelfServiceCreate(SPWeb, String, String, String, String, String, String) | Creates SPSite or SPWeb object use the SPWebApplication.MaxSiteVersion. | |
SelfServiceCreate(SPWeb, String, String, String, String, String, String, Int32) | Creates SPSite or SPWeb object, depending on the self service creation mode set in the SPWebApplication, based on a simple set of input parameters. The site owner will be the user calling this method. The site will be created using the "STS#0" site template, without a description, the title will be the same as the relative URL and the LCID will match that of the input context Web. NOTE: If an Individual Site will be created, it will have unique permissions and a link to its homepage will be placed in the parent web's top navigation bar. | |
SelfServiceCreate(SPWeb, String, String, String, String, String, String, Int32, Boolean) | ||
SetDailyUnthrottledPrivilegedOperationWindow | Sets the daily unthrottled window. | |
SetRequireDynamicCanary | If this UrlZone requires dynamic canary | |
ToString | Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on). (Inherited from SPPersistedObject.) | |
Uncache | Frees the memory cache that is used by the object. (Inherited from SPPersistedObject.) | |
Unprovision() | Unprovisions the Web application and removes it from all local Internet Information Services (IIS) Web sites. (Overrides SPPersistedObject.Unprovision().) | |
Unprovision(Boolean) | Unprovisions the Web application and optionally removes the application from all local Internet Information Services (IIS) Web sites. | |
UnprovisionGlobally() | Removes the Web application from all front-end Web servers. | |
UnprovisionGlobally(Boolean) | Removes the Web application from all front-end Web servers and optionally removes the Internet Information Services (IIS) Web sites. | |
Update() | Causes the Web application to serialize its state and propagate changes throughout the server farm. (Overrides SPPersistedObject.Update().) | |
Update(Boolean) | Causes the object to save its state and propagate changes to all the computers in the server farm, optionally throwing an exception if the object already exists in the configuration store. (Inherited from SPPersistedObject.) | |
UpdateCredentials | Updates credentials in the database when a username or password changes. | |
UpdateMailSettings(String, String, String, Int32) | Updates the e-mail settings that are used when SharePoint Foundation sends email. | |
UpdateMailSettings(String, String, String, Int32, Nullable<Boolean>, Int32) | ||
UpdateMappedPage | Updates the custom application page mapping. | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) | |
UpdateSmsAccount | Assigns to the Web application the account with a mobile messaging service provider that is used by mobile alerts. | |
UpdateVersionedMappedPage | ||
UpdateWithNoObjectCallbackCheck | (Inherited from SPPersistedObject.) | |
UpdateWorkflowConfigurationSettings | Reads the web.config file and copies its content as settings. | |
Upgrade() | Upgrades the object. (Inherited from SPPersistedUpgradableObject.) | |
Upgrade(Boolean) | Upgrades the object, and if a Boolean parameter equals true, recursively upgrades all descendants of the current object. (Inherited from SPPersistedUpgradableObject.) | |
Validate | Validates the state of the Web application before persisting the object. (Overrides SPPersistedObject.Validate().) | |
ValidateBackwardsCompatibility | Validates the backward compatibility of the content database schema for the DLLs on the Web front end. This method is called each time a connection is made to the content database to verify that the database schema is compatible. (Inherited from SPPersistedUpgradableObject.) | |
ValidateMigrateUserParameters | Validates a given set of migration parameters to determine if they are valid. | |
ZonePolicies | Returns the set of policies that apply to the specified zone. |
Top