Udostępnij za pośrednictwem


ServiceControllerPermissionAttribute.ServiceName Właściwość

Definicja

Pobiera lub ustawia krótką nazwę identyfikującą usługę w systemie.

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

Wartość właściwości

String

Nazwa usługi.

Wyjątki

Wartość ServiceName to null.

Składnia ServiceName właściwości jest nieprawidłowa.

Dotyczy