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




host
Host name of machine where the ArcGIS Server Object Manager exists
identity
T:ESRI.ArcGIS.ADF.Identity with username and password for the server.
connect
Indicates whether to connect on initialization.
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 ESRI.ArcGIS.ADF.Identity, _
   ByVal connect As Boolean _
)
Visual Basic (Usage)Copy Code
Dim host As String
Dim identity As ESRI.ArcGIS.ADF.Identity
Dim connect As Boolean
 
Dim instance As New AGSServerConnection(host, identity, connect)
C# 
public AGSServerConnection( 
   string host,
   ESRI.ArcGIS.ADF.Identity identity,
   bool connect
)

Parameters

host
Host name of machine where the ArcGIS Server Object Manager exists
identity
T:ESRI.ArcGIS.ADF.Identity with username and password for the server.
connect
Indicates whether to connect on initialization.

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.