共用方式為


SPAntivirusSettings.DownloadScanEnabled property

取得或設定一個值,指出當下載時,是否會掃描的檔案。

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

Syntax

'宣告
Public Property DownloadScanEnabled As Boolean
    Get
    Set
'用途
Dim instance As SPAntivirusSettings
Dim value As Boolean

value = instance.DownloadScanEnabled

instance.DownloadScanEnabled = value
public bool DownloadScanEnabled { get; set; }

Property value

Type: System.Boolean
如果true,檔案下載 ; 時予以掃描否則,請false。預設值為false。

請參閱

參照

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace