SmtpSession.IsExternalConnection property
When overridden in a derived class, the IsExternalConnection property gets or sets a value that indicates whether the connection is with a server outside the organization.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Property IsExternalConnection As Boolean
Get
Friend Set
'Usage
Dim instance As SmtpSession
Dim value As Boolean
value = instance.IsExternalConnection
public abstract bool IsExternalConnection { get; internal set; }
Property value
Type: System.Boolean
When overridden in a derived class, the IsExternalConnection property returns true if the connection is with a server outside the organization; otherwise, the property returns false.