ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local
ServerContextInfo Constructor
See Also 
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 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).

See Also

© 2010 All Rights Reserved.