ESRI.ArcGIS.ADF.Connection.Core
CreateServerConnection Method
See Also  Send comments on this topic.
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 Identity _
) As IServerConnection
Visual Basic (Usage)Copy Code
Dim instance As IMSServerConnectionFactory
Dim connectionString As String
Dim identity As Identity
Dim value As IServerConnection
 
value = instance.CreateServerConnection(connectionString, identity)
C# 
public IServerConnection CreateServerConnection( 
   string connectionString,
   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

See Also

© 2010 All Rights Reserved.