Share via


Mailbox.SCLRejectEnabled property

Gets or sets a value that indicates whether messages that meet the spam confidence level (SCL) are rejected.

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

Syntax

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

value = instance.SCLRejectEnabled

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

Property value

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

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