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

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