IIS 6.0

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

HRESULT put_Status(
      BSTR bstrStatus


[in] A BSTR that contains the new Status value.

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

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS