Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.33 KB

File metadata and controls

32 lines (24 loc) · 1.33 KB
title description author ms.author ms.date ms.service ms.topic helpviewer_keywords apilocation apiname apitype
SqlService Class
SqlService Class
markingmyname
maghan
03/14/2017
sql
reference
SqlService class
sqlmgmproviderxpsp2up.mof
SqlService Class
MOFDef

SqlService Class

[!INCLUDE SQL Server] The SqlService Class represents an instance of a [!INCLUDEssNoVersion] service.

The SqlService Class is used to programmatically manage the [!INCLUDEssNoVersion] 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

Starting and Stopping Services