Share via


SmtpSession.AntispamBypass property

When overridden in a derived class, the AntispamBypass property gets a value that indicates whether the session is a connection with a partner configured for anti-spam bypass.

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property AntispamBypass As Boolean
    Get
'Usage
Dim instance As SmtpSession
Dim value As Boolean

value = instance.AntispamBypass
public abstract bool AntispamBypass { get; }

Property value

Type: System.Boolean
When overridden in a derived class, the AntispamBypass property returns true if the session is a connection with a partner configured for anti-spam bypass; otherwise, the property returns false.

See also

Reference

SmtpSession class

SmtpSession members

Microsoft.Exchange.Data.Transport.Smtp namespace