This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerEnvironmentXHelper Interface > IServerEnvironmentXHelper.AddServerDirectory Method (ArcObjects .NET 10.4 SDK) |
Adds a new server directory into the server environment.
[Visual Basic .NET] Public Sub AddServerDirectory ( _ ByVal dirPath As String, _ ByVal URL As String, _ ByVal Description As String, _ ByVal CleaningMode As esriServerDirectoryCleaningMode, _ ByVal MaxFileAge As Integer, _ ByVal Type As esriServerDirectoryType _ )
[C#] public void AddServerDirectory ( string dirPath, string URL, string Description, esriServerDirectoryCleaningMode CleaningMode, int MaxFileAge, esriServerDirectoryType Type );
[C++]
HRESULT AddServerDirectory(
BSTR dirPath,
BSTR URL,
BSTR Description,
esriServerDirectoryCleaningMode CleaningMode,
long MaxFileAge,
esriServerDirectoryType Type
);
[C++]
Parameters dirPath [in] dirPath is a parameter of type BSTR URL [in] URL is a parameter of type BSTR Description [in] Description is a parameter of type BSTR CleaningMode [in]
CleaningMode is a parameter of type esriServerDirectoryCleaningMode MaxFileAge [in] MaxFileAge is a parameter of type long Type [in]
Type is a parameter of type esriServerDirectoryType