SPWebApplication.BlockedFileExtensions property

Gets the list of file extensions that cannot be uploaded or downloaded from sites in the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public Collection<string> BlockedFileExtensions { get; }

Property value

Type: System.Collections.ObjectModel.Collection<String>
A System.Collections.ObjectModel.Collection object that represents the file extensions that cannot be uploaded or downloaded.
Show: