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)
Available in Sandboxed Solutions: No

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