The IServer::get_ScriptTimeout method retrieves the value of the ScriptTimeout property of the Server object.
HRESULT get_ScriptTimeout(
LONG * plTimeoutSeconds //pointer to a LONG that receives the
// ScriptTimeout value
);
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 About the Metabase
AspScriptTimeout, IIS Metabase