Share via


SPAntivirusSettings.Timeout property

Gets or sets the amount of time before the virus scanner times out.

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

Syntax

'Declaration
Public Property Timeout As TimeSpan
    Get
    Set
'Usage
Dim instance As SPAntivirusSettings
Dim value As TimeSpan

value = instance.Timeout

instance.Timeout = value
public TimeSpan Timeout { get; set; }

Property value

Type: System.TimeSpan
A TimeSpan object. The default is 300 seconds.

See also

Reference

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace