ServiceControllerPermissionAttribute.ServiceName Свойство

Определение

Возвращает или задает короткое имя, определяющее службу в системе.

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

Значение свойства

Имя службы.

Исключения

Значение ServiceName равно null.

Недопустимый ServiceName синтаксис свойства.

Применяется к