Share via


IScriptingContext::get_Application

The IScriptingContext::get_Application method retrieves a pointer to the IApplicationObject interface of the Application Object.

HRESULT get_Application(
      IApplicationObject** ppApplication
);

Parameters

  • ppApplication
    [retval] [out] Points to an IApplicationObject interface.

Remarks

You can use IApplicationObject to gain access to variables and objects that have been given application scope. IApplicationObject also exposes methods to lock and unlock an application to prevent concurrent access to application objects and variables.

Requirements

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

See Also