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




server_name
The ArcGIS Server machine hosting the service whose cache will be deleted. (In, Required)
object_name
The map service whose cache will be deleted. (In, Required)
data_frame
The source data frame of the cache to be deleted. This appears in the user interface for informational purposes only and cannot be changed. (In, Required)
Layer
The layers to delete from the cache (only applies to multilayer caches). Layers that are included will be removed from the cache. Excluded layers will remain. (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 Layer As Object _
)
Visual Basic (Usage)Copy Code
Dim server_name As String
Dim object_name As String
Dim data_frame As String
Dim Layer As Object
 
Dim instance As DeleteMapServerCache(server_name, object_name, data_frame, Layer)
C# 
public DeleteMapServerCache( 
   string server_name,
   string object_name,
   string data_frame,
   object Layer
)

Parameters

server_name
The ArcGIS Server machine hosting the service whose cache will be deleted. (In, Required)
object_name
The map service whose cache will be deleted. (In, Required)
data_frame
The source data frame of the cache to be deleted. This appears in the user interface for informational purposes only and cannot be changed. (In, Required)
Layer
The layers to delete from the cache (only applies to multilayer caches). Layers that are included will be removed from the cache. Excluded layers will remain. (In, Required)

See Also

© 2010 All Rights Reserved.