SqlService Class
Applies to: SQL Server
The SqlService Class represents an instance of a SQL Server service.
The SqlService Class is used to programmatically manage the SQL Server service. With the SqlService Class object, you can perform the following tasks:
Connect to the service.
Modify the account and password used to connect to the service.
Start, stop, pause, and resume the service.
Check the properties of the service.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for