The IScriptingContext::get_Response method retrieves a pointer to the IResponse interface of the Response object.
HRESULT get_Response(
Iresponse ** ppResponse //pointer to an IResponse interface
// pointer
);
You can use the IResponse interface to access the methods, properties, and collections of the Response object.