ESRI.ArcGIS.ADF.Connection.Core
ServerConnection Method
See Also  Send Feedback
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.

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.