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)

Syntax

'Declaration
Public ReadOnly Property BlockedFileExtensions As Collection(Of String)
    Get
'Usage
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

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace