Share via


SmtpSession.RemoteEndPoint property

When overridden in a derived class, the RemoteEndPoint property gets or sets the Internet Protocol (IP) end point for the remote connection.

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

Syntax

'Declaration
Public MustOverride Property RemoteEndPoint As IPEndPoint
    Get
    Friend Set
'Usage
Dim instance As SmtpSession
Dim value As IPEndPoint

value = instance.RemoteEndPoint
public abstract IPEndPoint RemoteEndPoint { get; internal set; }

Property value

Type: System.Net.IPEndPoint
When overridden in a derived class, the RemoteEndPoint property returns an instance of the IPEndPoint class.

See also

Reference

SmtpSession class

SmtpSession members

Microsoft.Exchange.Data.Transport.Smtp namespace