@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 @LANGUAGEdirective in your script, the script is interpreted by the VBScript engine.

<%@ LANGUAGE = Scriptengine %>

参数

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

备注

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.

必备条件

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

如果你喜欢这篇文章,敬请给站长打赏↑

除特别注明外,本站所有文章均为本站站长原译,转载请注明出处。