Share via


SPWebApplication properties

The SPWebApplication type exposes the following members.

Properties

  Name Description
Public property AlertFlags Obsolete. Do not use. Has no effect.
Public property AlertsEnabled Gets or sets a value that specifies whether alerts are allowed in the Web application.
Public property AlertsEventBatchSize Obsolete. Do not use. Has no effect.
Public property 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.
Public property AlertsMaximum Gets or sets the maximum number of lists and list items for which a single user can create alerts.
Public property AlertsMaximumQuerySet Gets or sets the maximum number of records in a query set that is associated with this alert object.
Public property AllowAccessToWebPartCatalog Gets or sets a value that indicates whether sites in the Web application can use Web Parts from the global catalog.
Public property AllowAnalyticsCookieForAnonymousUsers Enables or disables analytics cookies for anonymous users.
Public property AllowContributorsToEditScriptableParts Gets or sets a Boolean value that determines whether contributers are allowed to edit scriptable Web Parts.
Public property AllowCreateDeclarativeWorkflow
Public property AllowDesigner Gets or sets a Boolean value that specifies whether SharePoint Designer can be used to edit Web sites within the Web application.
Public property 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.
Public property AllowHighCharacterListFolderNames Gets or sets a Boolean value that determines whether non-alphanumeric characters are allowed in automatically generated list folder names.
Public property AllowMasterPageEditing Gets or sets a Boolean value that specifies whether users are allowed to edit master pages.
Public property AllowOMCodeOverrideThrottleSettings Gets or sets a Boolean value that specifies whether custom object model code can override the throttle settings.
Public property AllowPartToPartCommunication Gets or sets a value indicating whether the Web application allows Web Parts to communicate with each other.
Public property AllowRevertFromTemplate Gets or sets a Boolean value that specifies whether customized sites can be reverted to their base templates.
Public property AllowSaveDeclarativeWorkflowAsTemplate
Public property AllowSavePublishDeclarativeWorkflow
Public property AllowSelfServiceUpgradeEvaluation Whether upgrade evaluation site collection is allowed. default is true.
Public property 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.
Public property AlternateUrls Gets the collection of URLs that are routed to the Web application and specifies which zone they come from.
Public property AlwaysProcessDocuments Gets or sets a Boolean value that determines whether documents are always processed by document parsers before being returned.
Public property AnonymousResourceTrackingSettings
Public property ApplicationPool Gets or sets the application pool that is used by the Web application.
Public property ApplicationPrincipalMaxRights Gets or sets the maximum rights that any application principal user will have in the Web application.
Public property AppResourceTrackingSettings Gets app resource tracking settings.
Public property AppUserAcl
Public property AutomaticallyDeleteUnusedSiteCollections Gets or sets a value specifying whether unused site collections can be automatically deleted.
Public property BlockedFileExtensions Gets the list of file extensions that cannot be uploaded or downloaded from sites in the Web application.
Public property BlockedViewAuditFileExtensions
Public property BlockNewContentDatabaseWhenMounting
Public property BrowserCEIPEnabled Gets or sets a value that indicates whether the Customer Experience Improvement Program (CEIP) option is enabled in the browser.
Public property BrowserFileHandling Gets or sets a value that controls how files are treated in the browser.
Public property 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.
Public property CanRenameOnRestore Gets a value specifying whether the application can be renamed when it is restored.
Public property CanSelectForBackup Gets or sets a value specifying whether the Web application can be backed up.
Public property CanSelectForRestore Gets or sets a value specifying whether the Web application can be restored.
Public property CanUpgrade Gets a value that indicates whether the object can be upgraded. (Inherited from SPPersistedUpgradableObject.)
Public property CascadeDeleteMaximumItemLimit Gets or sets the maximum number of items that can be checked in aCascade or Restrict delete operation.
Public property CascadeDeleteTimeoutMultiplier Gets or sets the cost per item deleted in a referential integrity delete operation.
Public property CellStorageDataCleanupExcludedDocTypes Obsolete. Gets or sets document types to exclude from a cell storage data cleanup timer job so that associated file fragments are not deleted.
Public property CellStorageUserDataDeleteIncludedDocTypes Obsolete. Gets or sets document types to include in a cell storage data cleanup timer job so that associated file fragments are deleted.
Public property CellStorageUserDataDeleteSizeThreshold Obsolete. 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.
Public property CellStorageWebServiceEnabled Gets or sets a Boolean value that specifies whether the WebSvcCellStorage Web service is enabled.
Public property ChangeLogExpirationEnabled Gets or sets a value specifying whether change logs are deleted after the time span defined in the ChangeLogRetentionPeriod property.
Public property ChangeLogRetentionPeriod Gets or sets the number of days to retain change logs.
Public property 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.
Public property CompatibilityRange Gets or sets whether the site collection upgrades are available and the range of the site collection template versions that are available in Self-Service Site Creation.
Public property ContentDatabases Gets a collection of content databases that are available to the Web application.
Public propertyStatic member Context Gets the context web application, if present.
Public property CrossDomainPhotosEnabled Gets or sets the cross-domain photo page.
Public property CustomAppErrorLimit Indicates the maximum number of calls that all apps can make to log custom errors in a timespan of 24 hours.
Public property DailyStartUnthrottledPrivilegedOperationsHour Gets the hour of the start time for an unthrottled privilege operation according to the local time zone.
Public property DailyStartUnthrottledPrivilegedOperationsMinute Gets or sets the minute of the start time for an unthrottled privilege operation according to the local time zone.
Public property DailyUnthrottledPrivilegedOperationsDuration Gets or sets the duration in hours for an unthrottled privilege operation.
Protected property DatabaseRoles
Public property DataRetrievalProvider Gets settings related to the data retrieval service.
Public property DaysToShowNewIndicator Gets or sets the number of days that the New icon appears next to new list items.
Public property DefaultQuotaTemplate Gets or sets the default quota template used for all site collections.
Public property 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.
Public property DefaultTimeZone Gets or sets the default time zone for the Web application.
Public property DeploymentLocked (Inherited from SPPersistedObject.)
Public property DesignerDownloadUrl
Public property 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.
Public property DiskSizeRequired Gets the disk space that is required to back up the Web application.
Public property DisplayName Gets the user-friendly name that is used to describe the Web application. (Overrides SPPersistedObject.DisplayName.)
Public property DocumentConversionsEnabled Obsolete. Gets or sets a value that specifies whether to enable document conversion.
Public property DocumentConversionsLoadBalancerServerId Obsolete. Gets or sets the ID of the server in the farm that contains the load balancer.
Public property DocumentConversionsLoadBalancerUrl Obsolete. Gets or sets the URL to the load balancer for document conversions.
Public property DocumentConversionsSchedule Obsolete. Gets or sets the schedule for a document conversion timer job.
Public property DocumentConverters Obsolete. Gets a collection of document converters for the Web application.
Public property DocumentLibraryCalloutOfficeWebAppPreviewersDisabled Gets or sets whether to enable the document library callout's WAC previewers.
Public property EmailToNoPermissionWorkflowParticipantsEnabled Gets or sets a Boolean value that specifies whether to alert users without site permissions when they have been assigned workflow tasks.
Public property EnabledClaimProviders This member is reserved for internal use and is not intended to be used directly from your code.
Public property EventHandlersEnabled Obsolete. Gets or sets a value indicating whether to enable event handlers for the Web application.
Public property EventLogRetentionPeriod Gets or sets the amount of time to preserve event logs.
Public property 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.
Public property ExternalWorkflowParticipantsEnabled Gets or sets a Boolean value that specifies whether external users can participate in workflow by sending them a document copy.
Public property Farm Gets the server farm where the object resides. (Inherited from SPPersistedObject.)
Public property Features Gets the set of Features activated for the Web application.
Public property 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.
Public property FileSavePostProcessExtensions
Public property ForceseekEnabled Use Forceseek hint or not
Public property FormDigestSettings Gets a collection of security validation settings.
Public property HttpStrictTransportSecuritySettings
Public property HttpThrottleSettings Gets an object that provides management and configuration settings for performance monitoring and HTTP request throttling.
Public property Id Gets or sets the GUID that is associated with the object. (Inherited from SPPersistedObject.)
Public property IisSettings Gets a collection of settings for all Internet Information Services (IIS) instances that belong to the Web application.
Public property IncomingEmailServerAddress Gets or sets the server name at which incoming e-mail is received.
Public property InheritDataRetrievalSettings Gets or sets a value indicating whether the Web application inherits data retrieval services settings from the central administration application.
Public property IsAdministrationWebApplication Gets or sets a Boolean value specifying whether the Web application is the Central Administration application.
Public property IsBackwardsCompatible Gets or sets a value that indicates whether the current object is backward compatible. (Inherited from SPPersistedUpgradableObject.)
Public property IsPaired Obsolete. Gets or sets a value indicating whether the Web application is paired to a Windows SharePoint Services 2.0 Web application.
Public property JobDefinitions Gets the collection of job definitions for the Web application.
Public property JobHistoryEntries Gets an enumeration of the job history entries for the Web application.
Public property ListViewAuditEnabled
Protected property LocalPaths Gets the paths on the local machine to files that are served by the Web application.
Public property LookupDropDownUseStandardControl
Public property MasterPageReferenceEnabled Gets or sets a Boolean value that specifies whether site administrators can turn on or off dynamic master page referencing for application pages.
Public property MaxAuditLogTrimmingRetention
Public property MaximumFileSize Gets or sets the size of the largest file that can be uploaded.
Public property MaximumFileSizePerExtension The size, in MB, of the largest file size that can be uploaded for a specific file extension.
Public property MaxItemsPerThrottledOperation Gets or sets a number representing the count of items at which list operations begin to be throttled.
Public property 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.
Public property MaxItemsPerThrottledOperationWarningLevel Gets or sets the warning level settings for the number of list items in list operations.
Public property MaxListItemRowStorage Obsolete. Gets or sets the maximum row ordinal that a list item may have.
Public property MaxPreAuthorizedAccessUrlTimeToLive
Public property MaxQueryLookupFields Gets or sets the maximum number of lookup fields that may be included in a list item query.
Public property MaxSizeForSelfServiceEvalSiteCreationMB Gets or sets the maximum size in MB of a site collection for which self-requesting and auto creation of evaluation sites is permitted.
Public property MaxSizePerCellStorageOperation Obsolete. Gets or sets the maximum size, in bytes, of items that can be allowed in a single cell storage operation.
Public property MaxUniquePermScopesPerList Gets or sets the maximum unique scopes that a list can have.
Public property MetaWeblogAuthenticationEnabled Gets or sets a Boolean value that specifies whether to accept the user name and password from the MetaWeblog API.
Public property MetaWeblogEnabled Gets or sets a Boolean value that specifies whether to enable the MetaWeblog API for the Web application.
Public property 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.
Public property Name Gets or sets a name that is used to uniquely identify two objects that have the same parent and class. (Inherited from SPPersistedObject.)
Public property NeedsUpgrade Gets or sets a Boolean value that specifies whether the object needs to be upgraded. (Inherited from SPPersistedUpgradableObject.)
Public property NeedsUpgradeIncludeChildren Gets a Boolean value that indicates whether the object should be upgraded, considering the children of the object. (Inherited from SPPersistedUpgradableObject.)
Public property ODBSettings
Public property OfficialFileHosts Gets a collection of SPOfficialFileHost objects.
Public property OfficialFileName Gets or sets the name of the Records Repository Web Service to use to get the official file.
Public property OfficialFileUrl Gets or sets the URL of the Records Repository Web Service to use to get the official file.
Public property OutboundMailCertificateThumbprint
Public property OutboundMailCodePage Gets or sets the default code page to use when sending e-mail.
Public property OutboundMailEnableSsl
Public property OutboundMailOverrideEnvelopeSender
Public property OutboundMailPort
Public property OutboundMailReplyToAddress Gets or sets the default reply-to e-mail address to use when sending e-mail.
Public property OutboundMailSenderAddress Gets or sets the default sender (from) address to use when sending e-mail messages.
Public property OutboundMailServiceInstance Gets or sets the SMTP e-mail service used for sending e-mail.
Public property OutboundSmsServiceAccount Gets the account with a mobile messaging service provider that is used by the Web application to sent mobile alerts.
Public property Parent Gets the parent in the logical hierarchy of the configuration object tree. (Inherited from SPPersistedObject.)
Public property PeoplePickerSettings Gets an object that represents the people picker settings used in the control for selecting users and groups within the Web application.
Public property PingProcessDelay
Public property PingTimeAvailable
Public property PingWarmupPage
Public property Policies Gets the collection of security policies that are defined for the Web application, overriding any policies set for a zone.
Public property PolicyLoggingEnabled
Public property PolicyRoles Gets the collection of policy roles that are defined for the Web application.
Public property Prefixes Gets the set of paths at which sites may be created.
Public property PresenceEnabled Gets or sets a value that determines whether presence information will be exposed in the Web application.
Public property Properties Gets metadata for the persisted object. (Inherited from SPPersistedObject.)
Public property PublicFolderRootUrl Obsolete. Gets or sets the root of the public folder to which the Web application listens for document library e-mail inserts.
Public property ReadOnlyMaintenanceLink a link to the upgrade maintenance page
Public property RecycleBinCleanupEnabled Gets or sets a value that determines whether recycle bin cleanup is enabled.
Public property RecycleBinEnabled Gets or sets a value that determines whether the recycle bin is enabled.
Public property RecycleBinRetentionPeriod Gets or sets the number of days items are kept in the recycle bin.
Public property RenderingFromMetainfoEnabled Gets or sets a Boolean value that specifies whether to enable page roundtrip optimization.
Public property RequestManagementSettings
Public property RequireContactForSelfServiceSiteCreation Gets or sets a value indicating whether self-service site creation requires the site owner's contact information.
Public property RequiredDesignerVersion
Public property RightsMask Gets or sets the rights mask of the Web application.
Public property RunningJobs Gets the collection of running jobs for the Web application.
Public property ScopeExternalConnectionsToSiteSubscriptions Whether SendTo destinations in sitegroups of this web application should be within the site group Defaults to false
Public property SecondStageRecycleBinQuota Gets or sets a value that contains the percentage of storage quota that is allocated to second stage recycle bin.
Public property SelfServiceCreateIndividualSite Gets or Sets a boolean that is true if SSC should create an individual Site, false for a Site Collection
Public property SelfServiceCreationParentSiteUrl Gets or Sets the Parent Site Url under which individual Sites will be created.
Public property SelfServiceCreationQuotaTemplate Gets or Sets the quota template to apply when creating Site Collections.
Public property SelfServiceSiteCreationEnabled Gets or sets a value indicating whether self-service site creation is available in the application.
Public property SelfServiceSiteCustomFormUrl Gets or Sets the Custom Form Url for the Self Service Site Creation feature
Public property 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.
Public property SendSiteUpgradeEmails Indicates if emails should be sent by job-upgrade-site-collection timer job when upgrade completes for each site collection. Default value is true.
Public property SendUnusedSiteCollectionNotifications Gets or sets a value that indicates whether a notification is sent to owners of unused sites.
Public property ServiceApplicationProxyGroup Gets or sets the group of references for service application proxies.
Public property SharePoint2010WorkflowsEnabled
Public property ShouldDeferUpgradeActions (Inherited from SPPersistedUpgradableObject.)
Public property ShowNewGroupMenuItem
Public property ShowStartASiteMenuItem Gets or sets a Boolean that specifies whether the "Start a new site" menu item is shown.
Public property ShowURLStructure Gets or sets a Boolean value that specifies whether users are allowed to see the file structures of Web sites.
Public property 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.
Public property SiteResourceTrackingSettings
Public property Sites Gets the collection of all site collections in the Web application.
Public property SiteSubscriptionResourceTrackingSettings
Public property SiteSubscriptions Gets the collection of site subscriptions in the Web application.
Public property SiteUpgradeThrottleSettings Get the SPSiteUpgradeThrottleSettings that indicates the site collection upgrade throttle settings for the web application.
Public property Status Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.)
Public property StorageMetricsProcessingDuration Gets or sets the maximum duration, in seconds, to allow the processing of metric changes for documents.
Public property SuiteBarBrandingElementHtml Gets or sets the HTML snippet to display in the SuiteBarBrandingElement control.
Public property SuiteNavBrandingLogoNavigationUrl
Public property SuiteNavBrandingLogoTitle
Public property SuiteNavBrandingLogoUrl
Public property SuiteNavBrandingText
Public property SyncSiteProvisioningDBThrottle
Public property SyncSiteProvisioningThrottle
Public property SyncSiteProvisioningWaitTime
Public property SyndicationEnabled Gets or sets a value specifying whether to enable syndication.
Public property TrimAuditLogEnforced
Public property TypeName Gets a string that indicates the type of object of the Web application. (Overrides SPPersistedObject.TypeName.)
Public property 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.
Public property UnusedSiteNotificationPeriod Gets or sets the amount of time that a site is unused before sending a notification.
Public property UnusedSiteNotificationsBeforeDeletion Gets or sets the number of notifications that are sent before an unused site is deleted.
Public property UpgradeContext Gets the SPUpgradeContext for the current upgrade operation. (Inherited from SPPersistedUpgradableObject.)
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property UpgradeEvalSitesRetentionDays Specifies the default number days after which upgrade evaluation sites will be deleted. The expiration date for upgrade evaluation sites is set based on their creation date plus this value in days.
Public property UpgradeMaintenanceLink a link to the upgrade maintenance page
Public property UpgradeReminderDelay How many days the site collection admin can put off the upgrade reminder. when set to 0, the site status notification will show UpgradeRequired reminder instead of UpgradeAvailable reminder.
Public property UseClaimsAuthentication Gets or sets a Boolean value that indicates whether claims authentication is enabled.
Public property UseExternalUrlZoneForAlerts When this is set to true and if a cross firewall url zone is configured, then it will be used in alerts' emails. If this is set to true and if a cross firewall url zone is not configured, then the Default zone url for the web application will be used in alerts' emails. Set this to false if you want legacy behaviour of having urls in alerts's emails belonging to the web application in which the alert was created.
Public property UseLatestDatabaseSchema
Public property UserDefinedWorkflowMaximumComplexity Gets or sets the maximum number of activities and bindings allowed for a user defined workflow.
Public property UserDefinedWorkflowsEnabled Gets or sets a Boolean value specifying whether users can create workflows in the Web application.
Public property UserPhotoErrorExpiration Gets or sets the expiration of the error window for pictures in number of hours.
Public property UserPhotoExpiration Gets or sets the expiration of the picture in number of days.
Public property UserPhotoImportEnabled Gets or sets whether to enable the picture import feature.
Public property UserPhotoOnlineImportEnabled Gets or sets whether to enable the picture import feature for Exchange Online.
Public property UserResourceTrackingSettings Gets the per-user resource tracking settings.
Public property UserResourceTrackingSettings2
Public property UserSettingsProvider Gets or sets the SPUserSettingsProvider object for this web application.
Public property Version Gets a value that is incremented each time the object is updated. (Inherited from SPPersistedObject.)
Protected property WasCreated Gets a Boolean value that indicates whether the object is initialized and can be found in the database. (Inherited from SPPersistedObject.)
Public property 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.
Public property WebFileExtensions Gets the file extensions to identify Web files.
Public property WebService Gets the parent Web service of the Web application.

Top

See also

Reference

SPWebApplication class

Microsoft.SharePoint.Administration namespace