WMI--Windows API--SWbemLocator Object

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

SWbemLocator Object

You can use the methods of the SWbemLocator object to obtain an SWbemServices object that represents a connection to a namespace on either a local computer or a remote host computer.
你可以使用SWbemLocator对象的方法去获得一个SWbemServices对象,它代表一个连接到一个本地计算机或远程主机计算机的命名空间上。
You can then use the methods of the SWbemServices object to access WMI.
你可以使用SWbemServices对象的方法去访问WMI。
This object can be created by the VBScript CreateObject call.
这个对象可以由VBScript创建CreateObject调用。

Methods
The SWbemLocator object defines the following method.
这个SWbemLocator对象定义以下方法

Method Description
ConnectServer
 Connects to WMI on the specified computer.
 连接到指定计算的WMI。

Properties
The SWbemLocator object has the following property.
这个SWbemLocator对象有以下属性。
Property Description
Security_
 Used to read or change the security settings.
 用于读取或改变安全设置。

Requirements
Client
 Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation 4.0 SP4 and later, Windows Me, Windows 98, or Windows 95 OSR2 and later.
 
Server
 Requires Windows Server 2008, Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0 SP4 and later.
 
Type Library
 Use Wbemdisp.tlb.
 
DLL
 Requires Wbemdisp.dll.
 

See Also
Scripting API Objects

 

Send comments about this topic to Microsoft

Build date: 8/15/2007

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值