This document is archived and information here might be outdated.  Recommended version.


IServiceControl Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Interfaces > IS > IServiceControl Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesGDB)  

IServiceControl Interface

Provides access to members controlling the database service.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method ContinueServer Continues the server.
Read-only property HasControlPermissions Indicates whether the user has permissions to control the service.
Method PauseServer Pauses the server.
Read-only property ServerStatus The status of the server.
Method StartServer Starts the server.
Method StopServer Stops the server.

CoClasses that implement IServiceControl

CoClasses and Classes Description
DataServerManager Object to administer a Data Server.

Remarks

The IServiceControl interface allows you to perform general operations on a Database Service, such as Start, Stop, Pause, etc.  You do not need to be connected to the Database Service in order to use these methods.