ServiceControllerPermissionAttribute.ServiceName Proprietà

Definizione

Ottiene o imposta il nome breve che identifica il servizio sul sistema.

public:
 property System::String ^ ServiceName { System::String ^ get(); void set(System::String ^ value); };
public string ServiceName { get; set; }
member this.ServiceName : string with get, set
Public Property ServiceName As String

Valore della proprietà

Il nome del servizio.

Eccezioni

L'elemento ServiceName è null.

La sintassi della proprietà ServiceName non è valida.

Si applica a