ESRI.ArcGIS.ADF.IMS
StartService Method
See Also  Send Feedback
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

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.