Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPAntivirusSettings properties

The SPAntivirusSettings type exposes the following members.

  Name Description
Public property AllowDownload Gets or sets a value that indicates whether infected documents can be downloaded.
Public property AllowQuarantinedFileDownload Obsolete. Gets or sets a value that indicates whether quarantined documents can be downloaded.
Public property AutomaticUpdateSchedule When this string is not null or empty, the Antivirus Update timer job is running in automatic mode and will increment the VendorId everytime the timer job runs. Use this property to specify the schedule of the Antivirus Update timer job when it is running in automatic mode. If the string is null or empty, then the Antivirus Update timer job is not running in automatic mode and runs every 5 minutes, but only updates the VendorId if the "\Microsoft\Shared Tools\Web Server Extensions\AVScanner" reg key is set.
Public property CleaningEnabled Gets or sets a value that indicates whether the virus scanner should attempt to cure infected files.
Public property DownloadScanEnabled Gets or sets a value that indicates whether files are scanned when they are downloaded.
Public property NumberOfThreads Gets or sets the number of threads that the virus scanner can use.
Public property SkipSearchCrawl Gets or sets a Boolean value that specifies whether to skip scanning during a search crawl.
Public property Timeout Gets or sets the amount of time before the virus scanner times out.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property UploadScanEnabled Gets or sets a value that indicates whether files are scanned when uploaded.
Public property VendorId The vendor identifier. Incrementing this number when the virus signatures change will cause files to be re-scanned on next access.
Public property VendorUpdateCount Gets or sets the current increment of the number of times the vendor has been updated.
Top
Show:
© 2015 Microsoft