Demonstration script that modifies a Web service property (ConnectionTimeout) in the IIS metabase.

Visual Basic
Edit|Remove
strComputer = "LocalHost"
Set objIIS = GetObject("IIS://" & strComputer & "/W3SVC")
objIIS.ConnectionTimeout = 60
objIIS.SetInfo