This method of the IScriptingContext interface retrieves the Application object.
public abstract IApplicationObject getApplication();