ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
MapResourceInternet Constructor(String,GISDataSourceInternet)
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapResourceInternet Class > MapResourceInternet Constructor : MapResourceInternet Constructor(String,GISDataSourceInternet)




name
Name to assign to the map resource.
service
GIS data source to use for the map resource.
Constructor that takes the name and data source.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal service As GISDataSourceInternet _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim service As GISDataSourceInternet
 
Dim instance As MapResourceInternet(name, service)
C# 
public MapResourceInternet( 
   string name,
   GISDataSourceInternet service
)

Parameters

name
Name to assign to the map resource.
service
GIS data source to use for the map resource.

See Also

© 2010 All Rights Reserved.