Share via


SmtpSession.AuthenticationSource property

When overridden in a derived class, the AuthenticationSource property gets a value that indicates how the remote server authenticated 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 AuthenticationSource As AuthenticationSource
    Get
'Usage
Dim instance As SmtpSession
Dim value As AuthenticationSource

value = instance.AuthenticationSource
public abstract AuthenticationSource AuthenticationSource { get; }

Property value

Type: Microsoft.Exchange.Data.Transport.Smtp.AuthenticationSource
When overridden in a derived class, the AuthenticationSource property returns one of the valid AuthenticationSource values.

See also

Reference

SmtpSession class

SmtpSession members

Microsoft.Exchange.Data.Transport.Smtp namespace