Share via


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.

See also

Reference

SmtpSession class

SmtpSession members

Microsoft.Exchange.Data.Transport.Smtp namespace