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

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