WmiConnectionInfo.Timeout 属性

定义

获取或设置 Windows Management Instrumentation (WMI) 连接在其后发生超时的时间(以秒为单位)。

public:
 property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Timeout { get; set; }
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan

属性值

一个 Int32 值,该值指定 WMI 连接发生超时所需的时间(秒)。

示例

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

适用于