ESRI.ArcGIS.ADF.Tasks
VirtualDirectory Property
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > GeoprocessingTask Class : VirtualDirectory Property




The relative path to the virtual directory in which files can be written, e.g., "/myVirtualDirectory". Execute permissions on this virtual directory should be set to at least "Scripts only" to support GPDataFile input parameters and downloading result files from long-running asynchronous jobs. You should also set up an automatic cleanup mechanism that runs periodically.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Task")>
<NotifyParentPropertyAttribute(True)>
<ResDescriptionAttribute("The relative path to the virtual directory in which files can be written, e.g., "/myVirtualDirectory".  Execute permissions on this virtual directory should be set to at least "Scripts only" to support GPDataFile input parameters and downloading result files from long-running asynchronous jobs.  The web application should have read and write access to this directory. You should also set up an automatic cleanup mechanism that runs periodically.")>
<PersistenceModeAttribute()>
<DefaultValueAttribute()>
Public Overridable Property VirtualDirectory As String
Visual Basic (Usage)Copy Code
Dim instance As GeoprocessingTask
Dim value As String
 
instance.VirtualDirectory = value
 
value = instance.VirtualDirectory
C# 
[ResCategoryAttribute("Task")]
[NotifyParentPropertyAttribute(true)]
[ResDescriptionAttribute("The relative path to the virtual directory in which files can be written, e.g., "/myVirtualDirectory".  Execute permissions on this virtual directory should be set to at least "Scripts only" to support GPDataFile input parameters and downloading result files from long-running asynchronous jobs.  The web application should have read and write access to this directory. You should also set up an automatic cleanup mechanism that runs periodically.")]
[PersistenceModeAttribute()]
[DefaultValueAttribute()]
public virtual string VirtualDirectory {get; set;}

See Also

© 2010 All Rights Reserved.