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




host
Host where you want the service started.
port
Port that the ArcIMS Application Server is listening.
serviceName
Name of the service to start.
user
ArcIMS administrative account user.
password
ArcIMS administrative account password
Starts an ArcIMS service.

Syntax

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

Parameters

host
Host where you want the service started.
port
Port that the ArcIMS Application Server is listening.
serviceName
Name of the service to start.
user
ArcIMS administrative account user.
password
ArcIMS administrative account password

See Also

© 2010 All Rights Reserved.