|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IServiceControl
Provides access to members controlling the database service.
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.
| Method Summary | |
|---|---|
void |
continueServer()
Continues the server. |
int |
getServerStatus()
The status of the server. |
boolean |
isHasControlPermissions()
Indicates whether the user has permissions to control the service. |
void |
pauseServer()
Pauses the server. |
void |
startServer()
Starts the server. |
void |
stopServer()
Stops the server. |
| Method Detail |
|---|
int getServerStatus()
throws IOException,
AutomationException
This method returns the current status of the database service (see esriDataServerStatusType).
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isHasControlPermissions()
throws IOException,
AutomationException
This method returns whether a user has permissions to exercise control over the database service.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void stopServer()
throws IOException,
AutomationException
This method stops a database service.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void startServer()
throws IOException,
AutomationException
This method starts a database service.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void pauseServer()
throws IOException,
AutomationException
This method pauses a database service.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void continueServer()
throws IOException,
AutomationException
This method continues a database service.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||