Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.18 KB

File metadata and controls

38 lines (30 loc) · 1.18 KB
title SqlService Class | Microsoft Docs
ms.custom
ms.date 06/13/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology
ms.topic reference
api_name
SqlService Class
api_location
sqlmgmproviderxpsp2up.mof
topic_type
apiref
helpviewer_keywords
SqlService class
ms.assetid ecac7a16-c638-4703-ab08-753b63295f3a
author CarlRabeler
ms.author carlrab
manager craigg

SqlService Class

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