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




host
Host name of machine where the ArcGIS Server Object Manager exists
identity
Identity for connecting to the server.
userInfo
User information to check for permissions.
connect
Indicates whether to connect on initialization.
releaseServerOnDispose
Initializes a new instance of the AGSServerConnection class with the specified parameters

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal host As String, _
   ByVal identity As Identity, _
   ByVal userInfo As String, _
   ByVal connect As Boolean, _
   ByVal releaseServerOnDispose As Boolean _
)
Visual Basic (Usage)Copy Code
Dim host As String
Dim identity As Identity
Dim userInfo As String
Dim connect As Boolean
Dim releaseServerOnDispose As Boolean
 
Dim instance As AGSServerConnection(host, identity, userInfo, connect, releaseServerOnDispose)
C# 
public AGSServerConnection( 
   string host,
   Identity identity,
   string userInfo,
   bool connect,
   bool releaseServerOnDispose
)

Parameters

host
Host name of machine where the ArcGIS Server Object Manager exists
identity
Identity for connecting to the server.
userInfo
User information to check for permissions.
connect
Indicates whether to connect on initialization.
releaseServerOnDispose

See Also

© 2010 All Rights Reserved.