共用方式為


SPVirusCheckStatus Enumeration

Describes the status of virus-scanning on an SPFile object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPVirusCheckStatus
'Usage
Dim instance As SPVirusCheckStatus
[SubsetCallableTypeAttribute]
public enum SPVirusCheckStatus

Members

Member name Description
Clean No virus has been found.
Infected The file contains a virus.
InfectedCleanable The file contains a virus and it can be removed from the file.
Cleaned A virus was found and it was removed from the file.
CleanFailed A virus was found but it could not be removed from the file.
Deleted A virus was found and the file was deleted.
Timeout The virus-scanning operation timed out.

See Also

Reference

Microsoft.SharePoint Namespace