Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlService Class

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft