Compartir a través de


@LANGUAGE

You can use the @LANGUAGE processing directive to set the language that is used to interpret the commands in a script. You can set your scripting language to any scripting engine that has been installed in IIS. The default scripting language is VBScript, so if you do not include the @LANGUAGE directive in your script, the script is interpreted by the VBScript engine.


<%@ LANGUAGE = Scriptengine %> 

Parameters

  • Scriptengine
    The script engine that should compile the script. IIS installs with two script engines, VBScript and JScript.

Remarks

You can change the default scripting language with the IIS Admin Object AspScriptLanguage property. You can apply this property to a Web service, Web server, virtual directory, or Web directory. For more information, see Using the IIS ADSI Provider.

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

Other Resources

New ASP.NET Page Directives