SmtpSession.SessionId Property

When overridden in a derived class, the SessionId property gets or sets the ID for the session.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property SessionId As Long
    Get
'Usage
Dim instance As SmtpSession
Dim value As Long

value = instance.SessionId
public abstract long SessionId { get; }

Property Value

Type: System.Int64
When overridden in a derived class, the SessionId property returns a Guid value.