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




identity
Identity used to connect to the data source.
serverType
Type of server being connected to (ArcGIS, ArcIMS, etc.).
Overloaded - Constructor to create the type with an identity and server type.

Syntax

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

Parameters

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.