共用方式為


IServer::get_ScriptTimeout

The IServer::get_ScriptTimeout method retrieves the value of the Server.ScriptTimeout property of the Server object.

HRESULT get_ScriptTimeout(
      LONG* plTimeoutSeconds
);

Parameters

  • plTimeoutSeconds
    [in] Points to a LONG that receives the ScriptTimeout value.

Remarks

A default ScriptTimeout can be set for a Web Service or Web Server by using the AspScriptTimeout property in the metabase. The ScriptTimeout property cannot be set to a value less than that specified in the metabase.

For more information about using the metabase, see IIS Metabase

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