Share via


SPAntivirusSettings.NumberOfThreads property

Gets or sets the number of threads that the virus scanner can use.

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

Syntax

'Declaration
Public Property NumberOfThreads As Integer
    Get
    Set
'Usage
Dim instance As SPAntivirusSettings
Dim value As Integer

value = instance.NumberOfThreads

instance.NumberOfThreads = value
public int NumberOfThreads { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the number of threads. The default is 5.

See also

Reference

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace