ServiceControllerPermissionAccess 枚举

定义

定义 ServiceController 权限类使用的访问级别。Defines access levels used by ServiceController permission classes.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class ServiceControllerPermissionAccess
[System.Flags]
public enum ServiceControllerPermissionAccess
type ServiceControllerPermissionAccess = 
Public Enum ServiceControllerPermissionAccess
继承
ServiceControllerPermissionAccess
属性

字段

Browse 2

ServiceController 可以连接到现有服务,但不能控制现有服务。The ServiceController can connect to, but not control, existing services.

Control 6

ServiceController 可以连接到并控制现有服务。The ServiceController can connect to and control existing services.

None 0

ServiceController 没有权限。The ServiceController has no permissions.

适用于

另请参阅