com.esri.arcgis.server
Interface IServerDirectory2

All Superinterfaces:
IServerDirectory, java.io.Serializable
All Known Implementing Classes:
IServerDirectory2Proxy, ServerDirectory

public interface IServerDirectory2
extends IServerDirectory, java.io.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

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

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

setType

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

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