ADF.Web.DataSources.ArcGISServer.Local
MapResourceLocal Constructor(String,GISDataSourceLocal)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapResourceLocal Class > MapResourceLocal Constructor : MapResourceLocal Constructor(String,GISDataSourceLocal)




name
Name to assign to the map resource.
service
GISDataSourceLocal for a Local connection to an ArcGIS Server service.
Constructor that take a name and data source.

Syntax

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

Parameters

name
Name to assign to the map resource.
service
GISDataSourceLocal for a Local connection to an ArcGIS Server service.

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.