ServiceControllerPermissionAttribute.ServiceName 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置向系统标识该服务的简称。
public:
 property System::String ^ ServiceName { System::String ^ get(); void set(System::String ^ value); };public string ServiceName { get; set; }member this.ServiceName : string with get, setPublic Property ServiceName As String属性值
服务的名称。
例外
              ServiceName 为 null。
ServiceName 属性的语法无效。