Export (0) Print
Expand All

SPWebApplication.BrowserFileHandling Property

Gets or sets a value that controls how files are treated in the browser.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

'Declaration
PublicPropertyBrowserFileHandlingAsSPBrowserFileHandlingGetSet
'Usage
DiminstanceAsSPWebApplicationDimvalueAsSPBrowserFileHandlingvalue = instance.BrowserFileHandling

instance.BrowserFileHandling = value

Property Value

Type: Microsoft.SharePoint.SPBrowserFileHandling
SPBrowserFileHandling
A value that determines how files are treated in the browser. Strict specifies that MIME content types which are not listed in AllowedInlineDownloadedMimeTypes are forced to bedownloaded. Permissive specifies that the HTML and other content types which might contain script are allowed to be displayed directly in the browser.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft