Board logo

标题: [问题求助] VBS中SWbemNamedValueSet传递的参数有啥用? [打印本页]

作者: czjt1234    时间: 2013-1-18 19:38     标题: VBS中SWbemNamedValueSet传递的参数有啥用?

  1. Set oLoc = CreateObject("Wbemscripting.SWbemLocator")
  2. Set oCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
  3. Call oCtx.Add("__ProviderArchitecture", 64 )
  4. Call oCtx.Add("__RequiredArchitecture", True)
  5. Set oSvc = oLoc.ConnectServer(,"root\default",,,,,,oCtx)
  6. 请问这个SWbemNamedValueSet起什么作用?
复制代码
原帖在这里http://www.jb51.net/article/27134.htm




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2