Share via


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

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