Share via


SPAntivirusSettings.AllowDownload property

Gets or sets a value that indicates whether infected documents can be downloaded.

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

Syntax

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

value = instance.AllowDownload

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

Property value

Type: System.Boolean
true to allow infected documents to be downloaded; otherwise, false. The default is false.

See also

Reference

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace