共用方式為


SPWebApplication.BlockedFileExtensions property

取得無法上載或下載的 Web 應用程式中網站的副檔名清單。

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>
System.Collections.ObjectModel.Collection物件,表示無法上傳或下載的副檔名。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace