statusText Property (ServerXMLHTTP/IServerXMLHTTPRequest)
Represents the HTTP response line status.
[Script]
Script Syntax
strValue = oXMLHttpRequest.statusText;
Example
var xmlServerHttp = new ActiveXObject("Msxml2.ServerXMLHTTP.5.0"); xmlServerHttp.open("GET", "http://localhost/sample.xml", false); xmlServerHttp.send(); alert(xmlServerHttp.statusText);
[Visual Basic]
Visual Basic Syntax
strValue = oXMLHttpRequest.statusText
Example
Dim xmlServerHttp As New Msxml2.ServerXMLHTTP50 xmlServerHttp.open "GET", "http://localhost/sample.xml", False xmlServerHttp.send MsgBox xmlServerHttp.statusText
[C/C++]
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
The results of this method are valid only after the send
method has been successfully completed.
To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button in the upper-left corner of the page.
See Also
Applies to: IServerXMLHTTPRequest/ServerXMLHTTP