SPAntivirusSettings.CleaningEnabled property

Gets or sets a value that indicates whether the virus scanner should attempt to cure infected files.

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

Syntax

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

value = instance.CleaningEnabled

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

Property value

Type: System.Boolean
If true, the virus scanner attempts to cure infected files; otherwise, false. The default is false.

See also

Reference

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace