Share via


SPAntivirusSettings.AutomaticUpdateSchedule property

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.

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

Syntax

'Declaration
Public Property AutomaticUpdateSchedule As String
    Get
    Set
'Usage
Dim instance As SPAntivirusSettings
Dim value As String

value = instance.AutomaticUpdateSchedule

instance.AutomaticUpdateSchedule = value
public string AutomaticUpdateSchedule { get; set; }

Property value

Type: System.String
A string specifying the schedule of the Antivirus Update timer job.

See also

Reference

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace