MyDAC

TMyServerControl.ServiceStatus Method

Returns a status of the specified service at the server to which Connection is connected.

Class

TMyServerControl

Syntax

function ServiceStatus(const ServiceName: string): TMyServiceStatus;

Parameters
ServiceName
Holds the name of the service to start.
Return Value
a status of the specified service.

Remarks

Call the ServiceStatus method to return a status of the specified service at the server to which Connection is connected.

To get a list of MySQL services you should use GetServiceNames function.

This method is available only for Windows.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback