Share via


SPAntivirusSettings.DownloadScanEnabled property

Gets or sets a value that indicates whether files are scanned when they are downloaded.

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

Syntax

'Declaration
Public Property DownloadScanEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPAntivirusSettings
Dim value As Boolean

value = instance.DownloadScanEnabled

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

Property value

Type: System.Boolean
If true, files are scanned when they are downloaded; otherwise, false. The default is false.

See also

Reference

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace