ESRI.ArcGIS.ADF.IMS
VirtualDirectory Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > ImageDescriptor Class : VirtualDirectory Property




Gets or sets the virtual directory location for the image output.

Syntax

Visual Basic (Declaration) 
Public Property VirtualDirectory As String
Visual Basic (Usage)Copy Code
Dim instance As ImageDescriptor
Dim value As String
 
instance.VirtualDirectory = value
 
value = instance.VirtualDirectory
C# 
public string VirtualDirectory {get; set;}

Remarks

This is the virtual directory for output map images and layouts. The ArcIMS server will prefix the VirtualDirectory to the image or file name produced, and return the URL in its response. The server does not verify that the VirtualDirectory value is actually a valid virtual directory in the Web server.

A default for the physical directory and virtual directory output is set by the ArcIMS administrator when creating the service. Most applications will use these defaults, and it is unnecessary to set PhysicalDirectory or VirtualDirectory.

If PhysicalDirectory or VirtualDirectory are set, then the virtual directory location as set in the Web server must point to the PhysicalDirectory location. If they do not match, then the URL returned by the server will not be valid, and client browsers will be unable to retrieve the map.

See Also

© 2010 All Rights Reserved.