共用方式為


IServer::put_ScriptTimeout

The IServer::put_ScriptTimeout method sets the value of the AspScriptTimeout property of the Server object.

HRESULT put_ScriptTimeout(
      LONG lTimeoutSeconds
);

Parameters

  • lTimeoutSeconds
    [in] A LONG integer that contains the new 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.

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