Share via


Mailbox.SCLJunkThreshold property

Gets or sets the spam confidence level (SCL) at which messages are considered spam and should be 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 SCLJunkThreshold As Nullable(Of Integer)
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As Nullable(Of Integer)

value = instance.SCLJunkThreshold

instance.SCLJunkThreshold = value
public Nullable<int> SCLJunkThreshold { get; set; }

Property value

Type: System.Nullable<Int32>
The SCL at which messages are considered spam. Valid values are 0 to 9.

Remarks

When the SCLJunkEnabled property is true, messages that meet the spam confidence level 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