I recently experienced that while trying to create a layer from one of our portal services my AGP crashed. Turned out that the service I requested to create the layer from was stopped on the server.
To avoid that, I would like to check on the PortalItem (Item) status, but I do not seem to have the possibility to do so (Item Class Members). Fingers crossed I am only looking at the wrong place.
Can I check the PortalItem status?