Compartilhar via


Propriedade DisplayName

Gets the display name of the SQL Server service.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
Public ReadOnly Property DisplayName As String
    Get
'Uso
Dim instance As Service
Dim value As String

value = instance.DisplayName
public string DisplayName { get; }
public:
property String^ DisplayName {
    String^ get ();
}
member DisplayName : string
function get DisplayName () : String

Valor da propriedade

Tipo: System. . :: . .String
A String value that specifies the display name of the SQL Server service.