Export (0) Print
Expand All

Avnumberofthreads: Stsadm property (Office SharePoint Server)

Office 2007

Updated: September 13, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-09-13

Description

Specifies the number of threads to use for antivirus processes. If the server response time is slow while scanning, you may want to decrease the number of threads allowed for virus scanning.

This property is equivalent to the Antivirus Threads user interface setting that is located on the Antivirus page of the SharePoint Central Administration Web site.

Syntax

stsadm -o setproperty

   -propertyname avnumberofthreads

   -propertyvalue <valid numerical value>

   [-url] <URL>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname avnumberofthreads

   [-url] <URL>

NoteNote:

You can substitute -pn for -propertyname and -pv for -propertyvalue.

Values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

A valid numerical value that specifies the number of execution threads to use on the server. The default value is 5.

url

Typically, a path to the URL of the Web application, in the form http://server_name.

Examples

To set the number of threads on the server to 10, use the following syntax:

stsadm -o setproperty -pn avnumberofthreads -pv 10

To view the current setting of the avnumberofthreads property, use the following syntax:

stsadm -o getproperty -pn avnumberofthreads

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft