ArcObjects Library Reference (Server)  

IServerObjectAdmin.UpdateServerDirectory Method

Updates the properties of a server directory.

[Visual Basic .NET]
Public Sub UpdateServerDirectory ( _
    ByVal pSD As IServerDirectory _
public void UpdateServerDirectory (
    IServerDirectory pSD
HRESULT UpdateServerDirectory(
  IServerDirectory* pSD


pSD [in]

  pSD is a parameter of type IServerDirectory

Product Availability

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


The UpdateServerDirectory method will update the ServerDirectory that is specified when the method is called. You can use the GetServerDirectory or GetServerDirectories methods on IServerObjectAdmin to get a reference to the ServerDirectory you want to update.

The UpdateServerDirectory is useful for modifying the cleanup mode (CleaningMode ) and cleanup schedule.

Note: server directories must be accessible by all host machines configured in the GIS server.

See Also

IServerObjectAdmin Interface