ESRI.ArcGIS.ADF.IMS
StopService Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Administration Namespace > Service Class : StopService Method




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

Syntax

Visual Basic (Declaration) 
Public Shared Sub StopService( _
   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.StopService(host, port, serviceName, user, password)
C# 
public static void StopService( 
   string host,
   int port,
   string serviceName,
   string user,
   string password
)

Parameters

host
Host where you want the service stopped.
port
Port that the ArcIMS Application Server is listening.
serviceName
Name of the service to stop.
user
ArcIMS administrative user account.
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.