IServerDirectoryInfo Interface

Provides access to properties of a server directory.

Members

Name Description
Read-only property CleaningMode The mode by which the files in the server directory are cleaned (by age, by size or none).
Read-only property Description The description of the server directory.
Read-only property MaxFileAge The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.
Read-only property Path The path of the output directory.
Read-only property URL The URL of the virtual directory that maps to the physical directory as described by the Path property.

IServerDirectoryInfo.CleaningMode Property

The mode by which the files in the server directory are cleaned (by age, by size or none).

Public ReadOnly Property CleaningMode As esriServerDirectoryCleaningMode
public esriServerDirectoryCleaningMode CleaningMode {get;}

IServerDirectoryInfo.Description Property

The description of the server directory.

Public ReadOnly Property Description As String
public string Description {get;}

IServerDirectoryInfo.MaxFileAge Property

The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.

Public ReadOnly Property MaxFileAge As Integer
public int MaxFileAge {get;}

Remarks

MaxFileAge is in seconds.

IServerDirectoryInfo.Path Property

The path of the output directory.

Public ReadOnly Property Path As String
public string Path {get;}

IServerDirectoryInfo.URL Property

The URL of the virtual directory that maps to the physical directory as described by the Path property.

Public ReadOnly Property URL As String
public string URL {get;}

Classes that implement IServerDirectoryInfo

Classes Description

Remarks

The ArcGIS Server manages a set of server directories. A server directory is a location on a file system that the GIS server is configured to clean up files it writes. Server dirtectories can be added, removed, and modified by users or developers who are members of the agsadmin users group, and therfore have administrator priviliges on the ArcGIS Server.

Users and developers who are not administrators also need access to the list of the GIS server's server directories and the set of their properties that are necessary for programming applications that use them as locations to write output. Users that are members of the agsusers user group, but are not members of the agsadmin user group, can get information about server directories using the GetServerDirectoryInfos method on IServerObjectManager to get the IServerDirectoryInfo interface.

IServerDirectoryInfo provides read-only access to a subset of the server directory's properties. These properties include:

Path: the physical path of the directory in disk

URL: the URL of the virtual directory corresonding to the physical directory

Description: the description of the server directory

CleaningMode: indicates whether the directory is cleaned by file age, by last accessed, or its contents are not cleaned up

MaxFileAge: inidicates the maximum age, or the maximum time since last accessed, that files can be in the server directory before they are cleaned up

The properties listed above are those necessary for developers of server applications to make use of the various GIS server's server directories.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.