SPWebApplication Members
Include Protected Members
Include Inherited Members
Represents an Internet Information Services (IIS) load-balanced Web application that is installed on the server farm.
The SPWebApplication type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPWebApplication() | Reserved for internal use. | |
SPWebApplication(String, SPWebService, SPApplicationPool) | Initializes a new instance of the SPWebApplication class. |
Top
Properties
Name | Description | |
---|---|---|
AlertFlags | Obsolete. Do not use. Has no effect. | |
AlertsEnabled | Gets or sets a value that specifies whether alerts are allowed in the Web application. | |
AlertsEventBatchSize | Obsolete. Do not use. Has no effect. | |
AlertsLimited | Gets or sets a value specifying whether there is a limit to the number of lists and list items for which a user can create alerts. | |
AlertsMaximum | Gets or sets the maximum number of lists and list items for which a single user can create alerts. | |
AlertsMaximumQuerySet | Gets or sets the maximum number of records in a query set that is associated with this alert object. | |
AllowAccessToWebPartCatalog | Gets or sets a value that indicates whether sites in the Web application can use Web Parts from the global catalog. | |
AllowContributorsToEditScriptableParts | Gets or sets a Boolean value that determines whether contributers are allowed to edit scriptable Web Parts. | |
AllowDesigner | Gets or sets a Boolean value that specifies whether SharePoint Designer can be used to edit Web sites within the Web application. | |
AllowedInlineDownloadedMimeTypes | Gets the MIME content-types that are not forced to be saved to the downloading user's local machine. Files withcontent-types that are not listed in this collection are assumed to contain script and therefore can interact with the application on the user'sbehalf. | |
AllowHighCharacterListFolderNames | Gets or sets a Boolean value that determines whether non-alphanumeric characters are allowed in automatically generated list folder names. | |
AllowMasterPageEditing | Gets or sets a Boolean value that specifies whether users are allowed to edit master pages. | |
AllowOMCodeOverrideThrottleSettings | Gets or sets a Boolean value that specifies whether custom object model code can override the throttle settings. | |
AllowPartToPartCommunication | Gets or sets a value indicating whether the Web application allows Web Parts to communicate with each other. | |
AllowRevertFromTemplate | Gets or sets a Boolean value that specifies whether customized sites can be reverted to their base templates. | |
AllowSilverlightPrompt | Gets or sets a value that indicates whether UI elements that use Microsoft Silverlight to render should prompt the user to download the Silverlight application. | |
AlternateUrls | Gets the collection of URLs that are routed to the Web application and specifies which zone they come from. | |
AlwaysProcessDocuments | Gets or sets a Boolean value that determines whether documents are always processed by document parsers before being returned. | |
ApplicationPool | Gets or sets the application pool that is used by the Web application. | |
ApplicationPrincipalMaxRights | Gets or sets the maximum rights that any application principal user will have in the Web application. | |
AutomaticallyDeleteUnusedSiteCollections | Gets or sets a value specifying whether unused site collections can be automatically deleted. | |
BlockedFileExtensions | Gets the list of file extensions that cannot be uploaded or downloaded from sites in the Web application. | |
BrowserCEIPEnabled | Gets or sets a value that indicates whether the Customer Experience Improvement Program (CEIP) option is enabled in the browser. | |
BrowserFileHandling | Gets or sets a value that controls how files are treated in the browser. | |
CanMigrate | Obsolete. Gets a value indicating whether the settings for the Web application can be migrated from the Windows SharePoint Services 2.0 Web application with which it is paired. | |
CanRenameOnRestore | Gets a value specifying whether the application can be renamed when it is restored. | |
CanSelectForBackup | Gets or sets a value specifying whether the Web application can be backed up. | |
CanSelectForRestore | Gets or sets a value specifying whether the Web application can be restored. | |
CanUpgrade | Gets a value that indicates whether the object can be upgraded. (Inherited from SPPersistedUpgradableObject.) | |
CascadeDeleteMaximumItemLimit | Gets or sets the maximum number of items that can be checked in aCascade or Restrict delete operation. | |
CascadeDeleteTimeoutMultiplier | Gets or sets the cost per item deleted in a referential integrity delete operation. | |
CellStorageDataCleanupExcludedDocTypes | Gets or sets document types to exclude from a cell storage data cleanup timer job so that associated file fragments are not deleted. | |
CellStorageUserDataDeleteIncludedDocTypes | Gets or sets document types to include in a cell storage data cleanup timer job so that associated file fragments are deleted. | |
CellStorageUserDataDeleteSizeThreshold | Gets or sets the size threshold for a cell storage user data delete timer job, so that the timer job only deletes file fragments in the file fragments table that surpass the specified size. | |
CellStorageWebServiceEnabled | Gets or sets a Boolean value that specifies whether the WebSvcCellStorage Web service is enabled. | |
ChangeLogExpirationEnabled | Gets or sets a value specifying whether change logs are deleted after the time span defined in the ChangeLogRetentionPeriod property. | |
ChangeLogRetentionPeriod | Gets or sets the number of days to retain change logs. | |
ClientCallableSettings | Gets the settings that control client-callable behaviors for the client object model, or specifically, for the Windows Communication Foundation (WCF) service that is provided through client.svc. | |
ContentDatabases | Gets a collection of content databases that are available to the Web application. | |
DailyStartUnthrottledPrivilegedOperationsHour | Gets the hour of the start time for an unthrottled privilege operation according to the local time zone. | |
DailyStartUnthrottledPrivilegedOperationsMinute | Gets or sets the minute of the start time for an unthrottled privilege operation according to the local time zone. | |
DailyUnthrottledPrivilegedOperationsDuration | Gets or sets the duration in hours for an unthrottled privilege operation. | |
DataRetrievalProvider | Gets settings related to the data retrieval service. | |
DaysToShowNewIndicator | Gets or sets the number of days that the New icon appears next to new list items. | |
DefaultQuotaTemplate | Gets or sets the default quota template used for all site collections. | |
DefaultServerComment | Gets the server comment that is associated with the IIS Web site for use when a comment is not specified by the Web application. | |
DefaultTimeZone | Gets or sets the default time zone for the Web application. | |
DisableCoauthoring | Gets or sets a Boolean value that specifies whether shared file locking is enabled for coauthoring Microsoft Office, an integrated system of programs, servers, and services documents. | |
DiskSizeRequired | Gets the disk space that is required to back up the Web application. | |
DisplayName | Gets the user-friendly name that is used to describe the Web application. (Overrides SPPersistedObject.DisplayName.) | |
DocumentConversionsEnabled | Gets or sets a value that specifies whether to enable document conversion. | |
DocumentConversionsLoadBalancerServerId | Gets or sets the ID of the server in the farm that contains the load balancer. | |
DocumentConversionsLoadBalancerUrl | Gets or sets the URL to the load balancer for document conversions. | |
DocumentConversionsSchedule | Gets or sets the schedule for a document conversion timer job. | |
DocumentConverters | Gets a collection of document converters for the Web application. | |
EmailToNoPermissionWorkflowParticipantsEnabled | Gets or sets a Boolean value that specifies whether to alert users without site permissions when they have been assigned workflow tasks. | |
EnabledClaimProviders | This member is reserved for internal use and is not intended to be used directly from your code. | |
EventHandlersEnabled | Obsolete. Gets or sets a value indicating whether to enable event handlers for the Web application. | |
EventLogRetentionPeriod | Gets or sets the amount of time to preserve event logs. | |
ExternalUrlZone | Gets or sets the URL zone to be used for cross-firewall access. A URL zone is a location in the topology of the server farm. | |
ExternalWorkflowParticipantsEnabled | Gets or sets a Boolean value that specifies whether external users can participate in workflow by sending them a document copy. | |
Farm | Gets the server farm where the object resides. (Inherited from SPPersistedObject.) | |
Features | Gets the set of Features activated for the Web application. | |
FileNotFoundPage | Gets or sets the name of an HTML file relative to \\Program Files\Common Files\Microsoft Shared\web server extensions\14\LAYOUTS\Locale_ID that contains the error information that is used when a file cannot be found. | |
FormDigestSettings | Gets a collection of security validation settings. | |
HttpThrottleSettings | Gets an object that provides management and configuration settings for performance monitoring and HTTP request throttling. | |
Id | Gets or sets the GUID that is associated with the object. (Inherited from SPPersistedObject.) | |
IisSettings | Gets a collection of settings for all Internet Information Services (IIS) instances that belong to the Web application. | |
IncomingEmailServerAddress | Gets or sets the server name at which incoming e-mail is received. | |
InheritDataRetrievalSettings | Gets or sets a value indicating whether the Web application inherits data retrieval services settings from the central administration application. | |
IsAdministrationWebApplication | Gets or sets a Boolean value specifying whether the Web application is the Central Administration application. | |
IsBackwardsCompatible | Gets or sets a value that indicates whether the current object is backward compatible. (Inherited from SPPersistedUpgradableObject.) | |
IsPaired | Obsolete. Gets or sets a value indicating whether the Web application is paired to a Windows SharePoint Services 2.0 Web application. | |
JobDefinitions | Gets the collection of job definitions for the Web application. | |
JobHistoryEntries | Gets an enumeration of the job history entries for the Web application. | |
LocalPaths | Gets the paths on the local machine to files that are served by the Web application. | |
MasterPageReferenceEnabled | Gets or sets a Boolean value that specifies whether site administrators can turn on or off dynamic master page referencing for application pages. | |
MaxDiscussionBoardItemsForSiteDataFolderQuery | Obsolete. | |
MaximumFileSize | Gets or sets the size of the largest file that can be uploaded. | |
MaxItemsPerThrottledOperation | Gets or sets a number representing the count of items at which list operations begin to be throttled. | |
MaxItemsPerThrottledOperationOverride | Gets or sets the maximum items that are not throttled per operation when the current user is an administrator or auditor by security proxy. | |
MaxItemsPerThrottledOperationWarningLevel | Gets or sets the warning level settings for the number of list items in list operations. | |
MaxListItemRowStorage | Gets or sets the maximum row ordinal that a list item may have. | |
MaxQueryLookupFields | Gets or sets the maximum number of lookup fields that may be included in a list item query. | |
MaxSizePerCellStorageOperation | Gets or sets the maximum size, in bytes, of items that can be allowed in a single cell storage operation. | |
MaxUniquePermScopesPerList | Gets or sets the maximum unique scopes that a list can have. | |
MetaWeblogAuthenticationEnabled | Gets or sets a Boolean value that specifies whether to accept the user name and password from the MetaWeblog API. | |
MetaWeblogEnabled | Gets or sets a Boolean value that specifies whether to enable the MetaWeblog API for the Web application. | |
MimeMappings | Gets a collection of Multipurpose Internet Mail Extension (MIME) mapping overrides for files based onthe file extension and programmatic identifier (ProgId) of the files. | |
Name | Gets or sets a name that is used to uniquely identify two objects that have the same parent and class. (Inherited from SPPersistedObject.) | |
NeedsUpgrade | Gets or sets a Boolean value that specifies whether the object needs to be upgraded. (Inherited from SPPersistedUpgradableObject.) | |
NeedsUpgradeIncludeChildren | Gets a Boolean value that indicates whether the object should be upgraded, considering the children of the object. (Inherited from SPPersistedUpgradableObject.) | |
OfficialFileHosts | Gets a collection of SPOfficialFileHost objects. | |
OfficialFileName | Gets or sets the name of the Records Repository Web Service to use to get the official file. | |
OfficialFileUrl | Gets or sets the URL of the Records Repository Web Service to use to get the official file. | |
OutboundMailCodePage | Gets or sets the default code page to use when sending e-mail. | |
OutboundMailReplyToAddress | Gets or sets the default reply-to e-mail address to use when sending e-mail. | |
OutboundMailSenderAddress | Gets or sets the default sender (from) address to use when sending e-mail messages. | |
OutboundMailServiceInstance | Gets or sets the SMTP e-mail service used for sending e-mail. | |
OutboundSmsServiceAccount | Gets the account with a mobile messaging service provider that is used by the Web application to sent mobile alerts. | |
Parent | Gets the parent in the logical hierarchy of the configuration object tree. (Inherited from SPPersistedObject.) | |
PeoplePickerSettings | Gets an object that represents the people picker settings used in the control for selecting users and groups within the Web application. | |
Policies | Gets the collection of security policies that are defined for the Web application, overriding any policies set for a zone. | |
PolicyRoles | Gets the collection of policy roles that are defined for the Web application. | |
Prefixes | Gets the set of paths at which sites may be created. | |
PresenceEnabled | Gets or sets a value that determines whether presence information will be exposed in the Web application. | |
Properties | Gets metadata for the persisted object. (Inherited from SPPersistedObject.) | |
PublicFolderRootUrl | Obsolete. Gets or sets the root of the public folder to which the Web application listens for document library e-mail inserts. | |
RecycleBinCleanupEnabled | Gets or sets a value that determines whether recycle bin cleanup is enabled. | |
RecycleBinEnabled | Gets or sets a value that determines whether the recycle bin is enabled. | |
RecycleBinRetentionPeriod | Gets or sets the number of days items are kept in the recycle bin. | |
RenderingFromMetainfoEnabled | Gets or sets a Boolean value that specifies whether to enable page roundtrip optimization. | |
RequireContactForSelfServiceSiteCreation | Gets or sets a value indicating whether self-service site creation requires the site owner's contact information. | |
RichTextEditorShortcutEnabled | ||
RightsMask | Gets or sets the rights mask of the Web application. | |
RunningJobs | Gets the collection of running jobs for the Web application. | |
ScopeExternalConnectionsToSiteSubscriptions | ||
SecondStageRecycleBinQuota | Gets or sets a value that contains the percentage of storage quota that is allocated to second stage recycle bin. | |
SelfServiceSiteCreationEnabled | Gets or sets a value indicating whether self-service site creation is available in the application. | |
SendLoginCredentialsByEmail | Gets or sets a value indicating whether a new user's login credentials are sent to them by e-mail when their account is created. | |
SendUnusedSiteCollectionNotifications | Gets or sets a value that indicates whether a notification is sent to owners of unused sites. | |
ServiceApplicationProxyGroup | Gets or sets the group of references for service application proxies. | |
ShowURLStructure | Gets or sets a Boolean value that specifies whether users are allowed to see the file structures of Web sites. | |
SiteDataServers | Gets a dictionary that maps URL zones to a list of server URIs that are available to access content through the WebSvcSiteData Web service. | |
Sites | Gets the collection of all site collections in the Web application. | |
SiteSubscriptions | Gets the collection of site subscriptions in the Web application. | |
Status | Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.) | |
StorageMetricsProcessingDuration | Gets or sets the maximum duration, in seconds, to allow the processing of metric changes for documents. | |
SyndicationEnabled | Gets or sets a value specifying whether to enable syndication. | |
TypeName | Gets a string that indicates the type of object of the Web application. (Overrides SPPersistedObject.TypeName.) | |
UnthrottledPrivilegedOperationWindowEnabled | Gets or sets a Boolean value that specifies whether to enable the unthrottled daily time window. If enabled,large list operations will not be throttled when they occur within the time window. | |
UnusedSiteNotificationPeriod | Gets or sets the amount of time that a site is unused before sending a notification. | |
UnusedSiteNotificationsBeforeDeletion | Gets or sets the number of notifications that are sent before an unused site is deleted. | |
UpgradeContext | Gets the SPUpgradeContext for the current upgrade operation. (Inherited from SPPersistedUpgradableObject.) | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) | |
UseClaimsAuthentication | Gets or sets a Boolean value that indicates whether claims authentication is enabled. | |
UserDefinedWorkflowMaximumComplexity | ||
UserDefinedWorkflowsEnabled | Gets or sets a Boolean value specifying whether users can create workflows in the Web application. | |
Version | Gets a value that is incremented each time the object is updated. (Inherited from SPPersistedObject.) | |
WasCreated | Gets a Boolean value that indicates whether the object is initialized and can be found in the database. (Inherited from SPPersistedObject.) | |
WebConfigModifications | Gets a collection of web.config modifications that are applied across all servers for the Web application. If the front end of the Web application is not located on the SQL server with the back end, the web.config modifications are applied only to the front end of the Web application. | |
WebFileExtensions | Gets the file extensions to identify Web files. | |
WebService | Gets the parent Web service of the Web application. |
Top
Methods
Name | Description | |
---|---|---|
AddBackupObjects | Adds the Web application and its children to the backup/restore job. | |
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. | |
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. | |
GetType | (Inherited from Object.) | |
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. | |
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. | |
MigrateUsers(Boolean) | Converts existing users to or from accounts that use claims authentication. | |
MigrateUsers(IMigrateUserCallback) | Converts user accounts to or from an account that uses claims 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().) | |
OnPostRestore | Raises the PostRestore event. | |
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. | |
SetDailyUnthrottledPrivilegedOperationWindow | Sets the daily unthrottled window. | |
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 | Updates the e-mail settings that are used when SharePoint Foundation sends email. | |
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. | |
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.) | |
ZonePolicies | Returns the set of policies that apply to the specified zone. |
Top
Fields
Name | Description | |
---|---|---|
m_BrowserCEIPEnabled |
Top