Proprietà Service.DisplayName

Gets the display name of the SQL Server service.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property DisplayName As String 
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

Gestione di servizi e di impostazioni di rete tramite il provider WMI

Vedere anche

Riferimento

Service Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi

Altre risorse

WMI and SQL Server

Connessione al Motore di database di SQL Server