ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
MapResourceInternet Constructor(String,GISDataSourceInternet)
See Also  Send Feedback
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 New 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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.