Share via


SPWebApplication.BlockedFileExtensions Property

Returns 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

Public ReadOnly Property BlockedFileExtensions As Collection(Of String)
    Get

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