ESRI.ArcGIS.ADF.Connection.Core
CreateServerConnection Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.IMS Namespace > IMSServerConnectionFactory Class : CreateServerConnection Method




connectionString
The connection string, using http or "server@port" format.
identity
Identity for connecting to the server, if needed.
Creates a new connection to an ArcIMS server.

Syntax

Visual Basic (Declaration) 
Public Function CreateServerConnection( _
   ByVal connectionString As String, _
   ByVal identity As ESRI.ArcGIS.ADF.Identity _
) As IServerConnection
Visual Basic (Usage)Copy Code
Dim instance As IMSServerConnectionFactory
Dim connectionString As String
Dim identity As ESRI.ArcGIS.ADF.Identity
Dim value As IServerConnection
 
value = instance.CreateServerConnection(connectionString, identity)
C# 
public IServerConnection CreateServerConnection( 
   string connectionString,
   ESRI.ArcGIS.ADF.Identity identity
)

Parameters

connectionString
The connection string, using http or "server@port" format.
identity
Identity for connecting to the server, if needed.

Return Value

An IMS server connection of the appropriate type.

Remarks

This method creates either a The connection string should be in a format appropriate for either an

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.