DisplayName Property (SqlService Class)
Gets the display name of the service.
Syntax
object.DisplayName [= value]
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 SQL Server Configuration Manager. However, display name comparisons are always case-insensitive.
Example
mysqlservice.DisplayName = "Atdisk"