IHTTPTransportAdv::StatusCode Property (read-only)

[propget] HRESULT StatusCode([out, retval] short * statusCode);

Following a call to ISOAPTransport::Receive, the StatusCode property will return the last HTTP status code returned from the server


Return Values

Any valid HTTP status code [e.g. 200]


Sample Code

dim t
set t = CreateObject("pocketSOAP.HTTPTransport.2")
t.send "http://example.org/", e.serialize
' note that parse will call t.receive to get the results
e.parse t
wscript.echo "Last HTTP status code = " & t.StatusCode


See Also

The IHTTPTransportAdv Interface | 




Copyright © Simon Fell, 2000-2004. All rights reserved.