Updates the properties of a server directory.
[Visual Basic 6.0] Sub UpdateServerDirectory(
ByVal pSD As IServerDirectory _
)
[Visual Basic .NET] Public Sub UpdateServerDirectory ( _ ByVal pSD As IServerDirectory _ )
[C#] public void UpdateServerDirectory ( IServerDirectory pSD );
[Java] public void updateServerDirectory ( IServerDirectory pSD ) throws IOException, AutomationException
[C++] HRESULT UpdateServerDirectory( IServerDirectory* pSD );
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.