WmiConnectionInfo.MachineName 属性

定义

获取或设置安装 Windows Management Instrumentation (WMI) 的计算机的名称。

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

属性值

一个 String 值,该值指定安装 WMI 的计算机的名称。

示例

使用 WMI 提供程序管理服务和网络设置

适用于