IScriptingContext::get_Session

This method retrieves the ISessionObject interface, which exposes the properties and methods of the Session object.

HRESULT get_Session(

ISessionObject ** ppSession

//pointer to an ISessionObject interface pointer

);