ESRI.ArcGIS.ADF.Connection.Core
ServerConnection(ConnectionMode) Method
See Also  Send comments on this topic.
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.

See Also

© 2010 All Rights Reserved.