Partager via


Propriété DisplayName

Gets the display name of the SQL Server service.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public ReadOnly Property DisplayName As String
    Get
'Utilisation
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

Valeur de propriété

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