такой скрипт:
Set Bases = CreateObject("Scripting.Dictionary") Bases.Add "test" , "test" ServerName = "Serv" For Each Base In Bases BaseName = Bases.Item(Base) If Base = BaseName then Set connector = CreateObject("V83.COMConnector") Set AgentConnection = Connector.ConnectAgent(ServerName & ":1540") Set Cluster = AgentConnection.GetClusters()(0) AgentConnection.Authenticate Cluster, "", "" WorkingProcesses = AgentConnection.GetWorkingProcesses(Cluster) For Each WorkingProcess In WorkingProcesses ConnectString = WorkingProcess.HostName & ":" & WorkingProcess.MainPort Set WorkingProcessConnection = Connector.ConnectWorkingProcess(ConnectString) WorkingProcessConnection.AddAuthentication "Admin", "123" Set ibDesc = WorkingProcessConnection.GetInfoBase() ibDesc.ScheduledJobsDenied = TRUE Next End if Next
ругаетсо на строчке с Set ibDesc = WorkingProcessConnection.GetInfoBase()