Share via


SPAntivirusSettings members

Represents a collection of antivirus settings.

The SPAntivirusSettings type exposes the following members.

Constructors

  Name Description
Public method SPAntivirusSettings Reserved for internal use only.

Top

Properties

  Name Description
Public property AllowDownload Gets or sets a value that indicates whether infected documents can be downloaded.
Public property AllowQuarantinedFileDownload 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

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method IncrementVendorUpdateCount Increments the number of times the vendor has been updated.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

See also

Reference

SPAntivirusSettings class

Microsoft.SharePoint.Administration namespace