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




name
Name for the data source.
dataSourceDefinition
Definition of the data source in string format.
Constructor taking a name and the definition for the data source.

Syntax

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

Parameters

name
Name for the data source.
dataSourceDefinition
Definition of the data source in string format.

Remarks

Typically the definition string is created at design time in Visual Studio for the MapResourceManager web control.

See Also

© 2010 All Rights Reserved.