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 |
|
sqlmgmproviderxpsp2up.mof |
SqlService Class |
MOFDef |
[!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.