IResponse::put_Status

The IResponse::put_Status method sets the value of the Status property of the Response object.

HRESULT put_Status(
  BSTR bstrStatus  //binary string that contains the new Status value
);
 

Parameters

bstrStatus
A binary string that contains the new Status value.

Remarks

You can use this property to modify the status line returned by the server. Status values are defined in the HTTP specification.

See Also

Response Object, IResponse::get_Status