共用方式為


SPAntivirusSettings.AutomaticUpdateSchedule property

當這個字串不是 null 或空的時防毒軟體更新的計時器工作在自動模式下執行,且會遞增計時器工作執行 VendorId 這樣。指定防毒軟體更新計時器工作的排程,以自動模式執行時使用本屬性。如果 null 或空字串,防毒軟體更新的計時器工作未執行自動模式] 與 [執行中每隔 5 分鐘,但是僅更新 VendorId,如果"\Microsoft\Shared Tools\Web Server Extensions\AVScanner"登錄機碼已設。

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

Syntax

'宣告
Public Property AutomaticUpdateSchedule As String
    Get
    Set
'用途
Dim instance As SPAntivirusSettings
Dim value As String

value = instance.AutomaticUpdateSchedule

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

Property value

Type: System.String
字串,指定防毒軟體更新計時器工作的排程。

請參閱

參照

SPAntivirusSettings class

SPAntivirusSettings members

Microsoft.SharePoint.Administration namespace