Share via


Mailbox.SCLJunkEnabled property

Gets or sets a value that indicates whether messages that meet the spam confidence level (SCL) are moved to the Junk Email folder.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public Property SCLJunkEnabled As Nullable(Of Boolean)
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As Nullable(Of Boolean)

value = instance.SCLJunkEnabled

instance.SCLJunkEnabled = value
public Nullable<bool> SCLJunkEnabled { get; set; }

Property value

Type: System.Nullable<Boolean>
true to move messages that meet the SCL; otherwise, false. This property can be a null reference (Nothing in Visual Basic).

Remarks

When the SCLJunkEnabled property is true, messages that meet the spam confidence level (SCL) specified by the SCLJunkThreshold property are moved to the Junk Email folder.

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace