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

See Also

© 2010 All Rights Reserved.