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


IServerObjectAdmin.UpdateServerDirectory Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

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