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




host
Host name of ArcGIS Server Object Manager Machine
identity
Identity with username and password for the server.
userInfo
User or role to use for checking permissions on server services.
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 _
)
Visual Basic (Usage)Copy Code
Dim host As String
Dim identity As Identity
Dim userInfo As String
 
Dim instance As AGSServerConnection(host, identity, userInfo)
C# 
public AGSServerConnection( 
   string host,
   Identity identity,
   string userInfo
)

Parameters

host
Host name of ArcGIS Server Object Manager Machine
identity
Identity with username and password for the server.
userInfo
User or role to use for checking permissions on server services.

See Also

© 2010 All Rights Reserved.