Share via


SmtpResponse.ToString method

The ToString method converts the current instance of the SmtpResponse structure to a Unicode string.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As SmtpResponse
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()

Return value

Type: System.String
The ToString method returns the response string represented by the current instance of the SmtpResponse structure.

See also

Reference

SmtpResponse structure

SmtpResponse members

Microsoft.Exchange.Data.Transport.Smtp namespace