Description
Gets the response status code. This function is only used for PowerServer.
Applies to
Syntax
applicationname.GetHttpResponseStatusCode ( )
| 
                                            
                               Argument  | 
                           
                                            
                               Description  | 
                        
|---|---|
| 
                                            
                               applicationname  | 
                           
                                            
                               The name of the application object for which you want to get the response status code  | 
                        
Return value
Long.
Returns the response status code or returns -1 if the current application is not an installable cloud app deployed with PowerServer.
Examples
This example gets the response status:
Long ls_StatusCode ls_StatusCode = Getapplication().GetHttpResponseStatusCode()
See also


