EhloCommandEventArgs.DisableStartTls property
Gets or sets a value indicating whether the STARTTLS SMTP verb should not be advertised.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Property DisableStartTls As Boolean
Get
Set
'Usage
Dim instance As EhloCommandEventArgs
Dim value As Boolean
value = instance.DisableStartTls
instance.DisableStartTls = value
public bool DisableStartTls { get; set; }
Property value
Type: System.Boolean
true if STARTTLS should not be advertised; otherwise false.