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 ReadOnly Property BlockedFileExtensions As Collection(Of String)
Dim instance As SPWebApplication
Dim value As Collection(Of String)

value = instance.BlockedFileExtensions
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.

See also


SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace