Share via


SPFileCollectionAddParameters.OutVirusCheckStatus property

Gets a value that describes the status of virus-scanning on the file.

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

Syntax

'Declaration
Public Property OutVirusCheckStatus As SPVirusCheckStatus
    Get
    Friend Set
'Usage
Dim instance As SPFileCollectionAddParameters
Dim value As SPVirusCheckStatus

value = instance.OutVirusCheckStatus
public SPVirusCheckStatus OutVirusCheckStatus { get; internal set; }

Property value

Type: Microsoft.SharePoint.SPVirusCheckStatus
One of the enumeration values that describes the status of virus-scanning. The default is SPVirusCheckStatus.Clean.

Remarks

This property returns a value only after the file is added to the collection and only when the ThrowOnVirusFound property is false.

See also

Reference

SPFileCollectionAddParameters class

SPFileCollectionAddParameters members

Microsoft.SharePoint namespace

ThrowOnVirusFound