WMI--Windows API--SWbemLocator Object
来源:互联网 发布:帝国cms仿站教程 编辑:程序博客网 时间:2024/06/01 21:06
原文来自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
- WMI--Windows API--SWbemLocator Object
- WMI--Windows API--Describing a WMI Namespace Object Path
- WMI--Windows API--CoInitializeEx
- WMI--Windows API--CoInitializeSecurity
- WMI--Windows API--CoCreateInstance
- WMI--Windows API--ConnectServer
- WMI--Windows API--CoSetProxyBlanket
- WMI--Windows API--ExecQuery
- WMI--Windows API--COINIT
- WMI--Windows API--RPC_C_AUTHN_LEVEL_xxx
- WMI--Windows API--RPC_C_IMP_LEVEL_xxx
- WMI--Windows API--SOLE_AUTHENTICATION_LIST
- WMI--Windows API--SOLE_AUTHENTICATION_INFO
- WMI--Windows API--EOLE_AUTHENTICATION_CAPABILITIES
- WMI--Windows API--IEnumWbemClassObject
- WMI--Windows API--IWbemLocator
- WMI--Windows API--IEnumWbemClassObjec.Next
- WMI--Windows API--IWbemClassObject.Get
- 函数中关于“函数声明”“函数定义”“函数原型”的辨析
- [隐式图搜索]Fill(倒水问题) UVA10603
- 在silverlight中EnitityFramework4.1框架下的以codefirst模式进行后台处理的SQL日志记录方法
- 构建多线程应用程序2 Parallel 并行类:Parallel.ForEach()、Task异步操作类:Task.Factory.StartNew()、并行LINQ查询: AsParallel()
- 基数排序的一个例子
- WMI--Windows API--SWbemLocator Object
- 绘制花朵Flower
- 揭秘JavaScript中谜一样的this
- DLL Hell
- ZTE VX10 H618B不增加设备、不拆机、不破解,开启自带路由+iTV的详细设置方法
- .NET MVC 扩展方法必须在非泛型静态类中定义
- 30个你必须记住的CSS选择符
- 指针基础
- iPhone学习之多线程笔记