ADF.Web.DataSources.ArcGISServer.Local
ServerContextInfo Constructor
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > ServerContextInfo Class : ServerContextInfo Constructor




datasource
GIS data source to use.
serverObject
Name of the server object.
contextName
The name of the context. Host_SO for shared contexts; Host_SO_Resource
serverObjectType
Type of server object (e.g., map).

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal datasource As GISDataSourceLocal, _
   ByVal serverObject As String, _
   ByVal contextName As String, _
   ByVal serverObjectType As String _
)
Visual Basic (Usage)Copy Code
Dim datasource As GISDataSourceLocal
Dim serverObject As String
Dim contextName As String
Dim serverObjectType As String
 
Dim instance As New ServerContextInfo(datasource, serverObject, contextName, serverObjectType)
C# 
public ServerContextInfo( 
   GISDataSourceLocal datasource,
   string serverObject,
   string contextName,
   string serverObjectType
)

Parameters

datasource
GIS data source to use.
serverObject
Name of the server object.
contextName
The name of the context. Host_SO for shared contexts; Host_SO_Resource
serverObjectType
Type of server object (e.g., map).

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.