ESRI.ArcGIS.ADF.Connection
ServerConnection(ConnectionMode) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection Namespace > Connection Class > ServerConnection Method : ServerConnection(ConnectionMode) Method




connectionMode
ConnectionMode (Default, Failover, RoundRobin).
Overload - Returns a valid ServerConnection given the specified ConnectionMode

Syntax

Visual Basic (Declaration) 
Public Overloads Function ServerConnection( _
   ByVal connectionMode As ConnectionMode _
) As IServerConnection
Visual Basic (Usage)Copy Code
Dim instance As Connection
Dim connectionMode As ConnectionMode
Dim value As IServerConnection
 
value = instance.ServerConnection(connectionMode)
C# 
public IServerConnection ServerConnection( 
   ConnectionMode connectionMode
)

Parameters

connectionMode
ConnectionMode (Default, Failover, RoundRobin).

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.