com.esri.arcgis.server
Interface IServerDirectory2

All Superinterfaces:
IServerDirectory, Serializable
All Known Subinterfaces:
IServerDirectory3
All Known Implementing Classes:
IServerDirectory2Proxy, ServerDirectory

public interface IServerDirectory2
extends IServerDirectory, Serializable

Provides access to members that control the behavior and properties of a server directory to administrators.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getType()
          The Type of server directory.
 void setType(int pType)
          The Type of server directory.
 
Methods inherited from interface com.esri.arcgis.server.IServerDirectory
getCleaningMode, getDescription, getMaxFileAge, getPath, getURL, setCleaningMode, setDescription, setMaxFileAge, setPath, setURL
 

Method Detail

getType

int getType()
            throws IOException,
                   AutomationException
The Type of server directory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.server.esriServerDirectoryType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setType

void setType(int pType)
             throws IOException,
                    AutomationException
The Type of server directory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pType - A com.esri.arcgis.server.esriServerDirectoryType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.