|
This object is a collection of DtoService objects, representing the Pervasive services running on the server.
RestartAllServices method StartIDS method StartRelational method StartTransactional method StopIDS method StopRelational method StopTransactional method
The methods of DtoServices control the Pervasive.SQL engine services running on the machine you connected to with the DtoSession object. All these methods return the enumeration DtoResult.
This object lets you start and stop the Pervasive.SQL engine services running on Windows NT or Windows 2000 servers. Also, you can query the current status of Pervasive.SQL services using the Status or StatusString properties.
To configure IIS to allow starting and stopping of services from a DTO web application

' This example connects to a server and restarts all ' Pervasive services. Dim my_session as new DtoSession Dim my_services as DtoServices Dim result as DtoResult result = my_session.Connect("myserver", "username", "password") Set my_services = my_session.Services result = my_services.RestartAllServices
DtoSession Object
DtoSetting Object
Stops and then restarts the transactional, relational, and IDS services.
|
result
|
DtoResult long value indicating the result of the method call. Use the Error property of the DtoSession Object to obtain a description for the result.
|
Starts the I*net Data Server service.
|
result
|
DtoResult long value indicating the result of the method call. Use the Error property of the DtoSession Object to obtain a description for the result.
|
Starts the Relational service.
|
result
|
DtoResult long value indicating the result of the method call. Use the Error property of the DtoSession Object to obtain a description for the result.
|
Starts the Btrieve transactional engine service.
|
result
|
DtoResult long value indicating the result of the method call. Use the Error property of the DtoSession Object to obtain a description for the result.
|
Stops the I*net Data Server service.
|
result
|
DtoResult long value indicating the result of the method call. Use the Error property of the DtoSession Object to obtain a description for the result.
|
Stops the Relational engine service.
|
result
|
DtoResult long value indicating the result of the method call. Use the Error property of the DtoSession Object to obtain a description for the result.
|
Stops the Btrieve transactional engine service.
|
result
|
DtoResult long value indicating the result of the method call. Use the Error property of the DtoSession Object to obtain a description for the result.
|
|
Chapter contents
Prev topic: DtoSelectionItem Object
|