Share via


SPAntivirusSettings.UploadScanEnabled property

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

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

Syntax

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

value = instance.UploadScanEnabled

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

Property value

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

See also

Reference

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace