Partager via


Mailbox.SCLRejectThreshold property

Gets or sets the spam confidence level (SCL) at which messages are considered spam and should be rejected.

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

Syntax

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

value = instance.SCLRejectThreshold

instance.SCLRejectThreshold = value
public Nullable<int> SCLRejectThreshold { 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 SCLRejectEnabled property is true, messages that meet the spam confidence level (SCL) specified by the SCLRejectThreshold property are rejected. When a message is rejected, the message is deleted and a rejection response is sent to the sender.

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace