Overloaded - Constructor with server name, connection mode, and identity.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim name As String
Dim mode As ConnectionMode
Dim identity As ESRI.ArcGIS.ADF.Identity
Dim failedCheckInterval As Integer
Dim maxAttempts As Integer
Dim instance As New Connection(name, mode, identity, failedCheckInterval, maxAttempts) |
Parameters
- name
- The name of a machine that contains an ArcGIS Server Object Manager
- mode
- ConnectionMode (Default, Failover, RoundRobin).
- identity
- Identity used to connect to the data source.
- failedCheckInterval
- Interval number used to check between failed connection attempts. This # is per application request.
- maxAttempts
- Number of times a failed connection is retried before marking as dead.
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