ESRI.ArcGIS.ADF.IMS
Extract(String,String,String) Method
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Extractor Class > Extract Method : Extract(String,String,String) Method




physicalDirectory
virtualDirectory
fileName
Gets a Uri to a zip file containing the layers in the shapefile format.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Extract( _
   ByVal physicalDirectory As String, _
   ByVal virtualDirectory As String, _
   ByVal fileName As String _
) As Uri
Visual Basic (Usage)Copy Code
Dim instance As Extractor
Dim physicalDirectory As String
Dim virtualDirectory As String
Dim fileName As String
Dim value As Uri
 
value = instance.Extract(physicalDirectory, virtualDirectory, fileName)
C# 
public Uri Extract( 
   string physicalDirectory,
   string virtualDirectory,
   string fileName
)

Parameters

physicalDirectory
virtualDirectory
fileName

Return Value

Uri of zipped data. Use its AbsoluteUri to retrieve the URL of the file.

Example

Remarks

By default, extraction occurs to the default output location defined for the map service. Also, the server generates a name for the zip file using the server name, map service name, and random string. This method extracts to a specific location and file name. In order for the Uri of the extracted file to be valid, the physical directory and virtual directory must point to the same location. For issues with specifying physical and virtual directories, see ImageDescriptor.VirtualDirectory. For issues with specifying the file name, see ImageDescriptor.FileName.

See Also

© 2010 All Rights Reserved.