This document is archived and information here might be outdated. Recommended version. |
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*
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.