statusText Property (IXMLHTTPRequest)
Represents the HTTP response line status.
Script Syntax
strValue = oXMLHttpRequest.statusText;
Example
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
xmlhttp.open("GET", "https://localhost/books.xml", false);
xmlhttp.send();
WScript.Echo(xmlhttp.statusText);
Visual Basic Syntax
strValue = oXMLHttpRequest.statusText
C/C++ Syntax
HRESULT get_statusText(BSTR* pbstrStatus);
Parameters
pbstrStatus
[out, retval]
The HTTP response as a "BSTR" value.
C/C++ Return Values
S_OK
The value returned if successful.
Remarks
String. The property is read-only. It represents the HTTP response as a BSTR value. This value is valid only after the send
method returns successfully.
Versioning
Implemented in:
MSXML 3.0, MSXML 6.0
Applies to
See Also
send Method (IXMLHTTPRequest)
status Property (IXMLHTTPRequest)