An enumerator over the GIS server's output directories.
[Visual Basic .NET] Public Function GetServerDirectories ( _ ) As IEnumServerDirectory
[C#] public IEnumServerDirectory GetServerDirectories ( );
[C++] HRESULT GetServerDirectories( IEnumServerDirectory** ppEnum );
ParametersppEnum [out, retval]
ppEnum is a parameter of type IEnumServerDirectory
Both server objects and server applicaitons typically need to write either temporary data or result data to some location in order for it to be delivered to, or presented to the end user. For example, a map server object's ExportMapImage method can create a image file which is then displayed on a web applicaiton. These files are typically transient and temporary by nature. For example, when a map server writes an image to satisfy a request from a web application, that image is needed only for the time it takes to display it on the web application. An application that creates check out personal geodatabases for download would provide a finite amount of time between which that geodatabase is created and when it can be downloaded.
Because server applications support many user sessions, these output files can accumulate and need to be periodically cleaned up. The server provides the cabability to automatically cleanup these output files if they are written to one of the server's output directories.
The GetServerDirectories method returns a enumeration of all the server directories that are managed by the server.