SPAntivirusSettings.CleaningEnabled property
取得或設定一個值,指出是否病毒掃描程式應該嘗試將修整受到感染的檔案。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property CleaningEnabled As Boolean
Get
Set
'用途
Dim instance As SPAntivirusSettings
Dim value As Boolean
value = instance.CleaningEnabled
instance.CleaningEnabled = value
public bool CleaningEnabled { get; set; }
Property value
Type: System.Boolean
如果true,病毒掃描程式會嘗試修整受到感染的檔案 ;否則,請false。預設值為false。