ESRI.ArcGIS.ADF.Connection
ServerConnection Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF.Connection Namespace > ConnectionManager Class : ServerConnection Method




host
The name of the ArcGIS Server host machine
serverType
Type of server (ArcGIS, ArcIMS, etc.).
Creates and returns a valid ServerConnection for the server host.

Syntax

Visual Basic (Declaration) 
Public Function ServerConnection( _
   ByVal host As String, _
   ByVal serverType As String _
) As IServerConnection
Visual Basic (Usage)Copy Code
Dim instance As ConnectionManager
Dim host As String
Dim serverType As String
Dim value As IServerConnection
 
value = instance.ServerConnection(host, serverType)
C# 
public IServerConnection ServerConnection( 
   string host,
   string serverType
)

Parameters

host
The name of the ArcGIS Server host machine
serverType
Type of server (ArcGIS, ArcIMS, etc.).

Return Value

An IServerConnection object.

See Also

© 2010 All Rights Reserved.