ServiceControllerPermissionAttribute.MachineName 属性

定义

获取或设置服务所在的计算机的名称。

public:
 property System::String ^ MachineName { System::String ^ get(); void set(System::String ^ value); };
public string MachineName { get; set; }
member this.MachineName : string with get, set
Public Property MachineName As String

属性值

运行与 <a0/> 关联的服务的计算机的名称。

例外

MachineName 语法无效。

适用于