Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.25 KB

File metadata and controls

52 lines (41 loc) · 1.25 KB
title DisplayName Property (SqlService Class) | Microsoft Docs
ms.custom
ms.date 06/13/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology wmi
ms.topic reference
api_name
DisplayName Property (SqlService Class)
api_location
sqlmgmproviderxpsp2up.mof
topic_type
apiref
helpviewer_keywords
DisplayName property
ms.assetid 49c408aa-6eb4-45cd-8d5c-60f065f24f5c
author CarlRabeler
ms.author carlrab
manager craigg

DisplayName Property (SqlService Class)

Gets the display name of the service.

Syntax

  
object  
.DisplayName [= value]  

Parts

object
A SqlService Class object that represents the service.

Property Value/Return Value

A string value that specifies the display name of the service.

Remarks

This string has a maximum length of 256 characters. The name is case-preserved in the [!INCLUDEssNoVersion] Configuration Manager. However, display name comparisons are always case-insensitive.

Example

mysqlservice.DisplayName = "Atdisk"  

See Also

Starting and Stopping Services