ESRI.ArcGIS.ADF.Connection
Connection Constructor(String,Identity,String)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection Namespace > Connection Class > Connection Constructor : Connection Constructor(String,Identity,String)




name
The name of a machine that contains an ArcGIS Server Object Manager
identity
Identity used to connect to the data source.
serverType
Type of server being connected to (ArcGIS, ArcIMS, etc.).
Overloaded - Contructor to create the type with a server name

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal identity As ESRI.ArcGIS.ADF.Identity, _
   ByVal serverType As String _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim identity As ESRI.ArcGIS.ADF.Identity
Dim serverType As String
 
Dim instance As New Connection(name, identity, serverType)
C# 
public Connection( 
   string name,
   ESRI.ArcGIS.ADF.Identity identity,
   string serverType
)

Parameters

name
The name of a machine that contains an ArcGIS Server Object Manager
identity
Identity used to connect to the data source.
serverType
Type of server being connected to (ArcGIS, ArcIMS, etc.).

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.