This document is archived and information here might be outdated.  Recommended version.


IServerObjectAdmin.UpdateServerDirectory Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.UpdateServerDirectory Method
ArcGIS Developer Help

IServerObjectAdmin.UpdateServerDirectory Method

Updates the properties of a server directory.

[Visual Basic .NET]
Public Sub UpdateServerDirectory ( _
    ByVal pSD As IServerDirectory _
)
[C#]
public void UpdateServerDirectory (
    IServerDirectory pSD
);
[C++]
HRESULT UpdateServerDirectory(
  IServerDirectory* pSD
);
[C++]
Parameters
pSD [in]

pSD is a parameter of type IServerDirectory*

Product Availability

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

Remarks

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