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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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