ESRI.ArcGIS.ADF.IMS
AddService Method
See Also 
ESRI.ArcGIS.ADF.IMS.Administration Namespace > Service Class : AddService Method




host
Host where you want the service stopped.
port
Port that the ArcIMS Application Server is listening.
serviceParams
Parameters specifying service information.
user
ArcIMS administrative user account.
password
ArcIMS administrative account password
Adds an ArcIMS service.

Syntax

Visual Basic (Declaration) 
Public Shared Sub AddService( _
   ByVal host As String, _
   ByVal port As Integer, _
   ByVal serviceParams As ServiceParameters, _
   ByVal user As String, _
   ByVal password As String _
) 
Visual Basic (Usage)Copy Code
Dim host As String
Dim port As Integer
Dim serviceParams As ServiceParameters
Dim user As String
Dim password As String
 
Service.AddService(host, port, serviceParams, user, password)
C# 
public static void AddService( 
   string host,
   int port,
   ServiceParameters serviceParams,
   string user,
   string password
)

Parameters

host
Host where you want the service stopped.
port
Port that the ArcIMS Application Server is listening.
serviceParams
Parameters specifying service information.
user
ArcIMS administrative user account.
password
ArcIMS administrative account password

See Also

© 2010 All Rights Reserved.