Share via


SPFileCollectionAddParameters.OutVirusCheckMessage property

Gets a message with information about a virus scan performed on the file.

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

Syntax

'Declaration
Public Property OutVirusCheckMessage As String
    Get
    Friend Set
'Usage
Dim instance As SPFileCollectionAddParameters
Dim value As String

value = instance.OutVirusCheckMessage
public string OutVirusCheckMessage { get; internal set; }

Property value

Type: System.String
The text of a message with information about a virus scan.

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