ESRI.ArcGIS.ServerTools
ExportMapServerCache Constructor(String,String,String,Object,Int32,String)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.ServerTools Namespace > ExportMapServerCache Class > ExportMapServerCache Constructor : ExportMapServerCache Constructor(String,String,String,Object,Int32,String)




server_name
The ArcGIS Server machine hosting the service whose cache tiles will be exported. (In, Required)
object_name
The map service whose tiles will be exported. (In, Required)
data_frame
The source data frame for the map service. (In, Required)
target_cache
The folder into which the cache will be exported. This folder does not have to be a registered server cache directory. (In, Required)
thread_count
Number of map service instances to use while exporting the cache. By default the maximum allowable number of instances will be used (default for an ArcGIS Server service is 2). If you have more server power, you can raise the maximum allowable number of instances in the Service Properties, then raise this parameter when you run the tool. (In, Required)
storage_format_type
The storage format of the exported cache. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal server_name As String, _
   ByVal object_name As String, _
   ByVal data_frame As String, _
   ByVal target_cache As Object, _
   ByVal thread_count As Integer, _
   ByVal storage_format_type As String _
)
Visual Basic (Usage)Copy Code
Dim server_name As String
Dim object_name As String
Dim data_frame As String
Dim target_cache As Object
Dim thread_count As Integer
Dim storage_format_type As String
 
Dim instance As ExportMapServerCache(server_name, object_name, data_frame, target_cache, thread_count, storage_format_type)
C# 
public ExportMapServerCache( 
   string server_name,
   string object_name,
   string data_frame,
   object target_cache,
   int thread_count,
   string storage_format_type
)

Parameters

server_name
The ArcGIS Server machine hosting the service whose cache tiles will be exported. (In, Required)
object_name
The map service whose tiles will be exported. (In, Required)
data_frame
The source data frame for the map service. (In, Required)
target_cache
The folder into which the cache will be exported. This folder does not have to be a registered server cache directory. (In, Required)
thread_count
Number of map service instances to use while exporting the cache. By default the maximum allowable number of instances will be used (default for an ArcGIS Server service is 2). If you have more server power, you can raise the maximum allowable number of instances in the Service Properties, then raise this parameter when you run the tool. (In, Required)
storage_format_type
The storage format of the exported cache. (In, Required)

See Also

© 2010 All Rights Reserved.