ESRI.ArcGIS.ADF.Connection
CreateServerConnection Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF.Connection Namespace > IServerConnectionFactory Interface : CreateServerConnection Method




connectionString
String with connection parameters for the server.
identity
User identity with username and password.
Creates a new connection to the server.

Syntax

Visual Basic (Declaration) 
Function CreateServerConnection( _
   ByVal connectionString As String, _
   ByVal identity As Identity _
) As IServerConnection
Visual Basic (Usage)Copy Code
Dim instance As IServerConnectionFactory
Dim connectionString As String
Dim identity As Identity
Dim value As IServerConnection
 
value = instance.CreateServerConnection(connectionString, identity)
C# 
IServerConnection CreateServerConnection( 
   string connectionString,
   Identity identity
)

Parameters

connectionString
String with connection parameters for the server.
identity
User identity with username and password.

Return Value

A new server connection.

See Also

© 2010 All Rights Reserved.