ServiceControllerPermissionEntry.MachineName 属性

定义

获取服务所驻留的计算机的名称。Gets the name of the computer on which the service resides.

public:
 property System::String ^ MachineName { System::String ^ get(); };
public string MachineName { get; }
member this.MachineName : string
Public ReadOnly Property MachineName As String

属性值

String

计算机的名称,该计算机正在运行与 ServiceController 关联的服务。The name of the computer that is running the service associated with the ServiceController.

适用于