Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.09 KB

File metadata and controls

32 lines (24 loc) · 1.09 KB
title SqlService Class
description SqlService Class
author markingmyname
ms.author maghan
ms.date 03/14/2017
ms.service sql
ms.topic reference
helpviewer_keywords
SqlService class
apilocation sqlmgmproviderxpsp2up.mof
apiname SqlService Class
apitype 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