SmtpResponse.StatusCode Property
The StatusCode property gets the status code for the response.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)
Syntax
'Declaration
Public ReadOnly Property StatusCode As String
public string StatusCode { get; }
public:
property String^ StatusCode {
String^ get ();
}
/** @property */
public String get_StatusCode ()
public function get StatusCode () : String
Property Value
The StatusCode property returns a string value that contains the status code for the response.
Remarks
The same StatusCode property value must appear on each line of a multiline response.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003