請問,如何 能得到函式的使用方法。
利用WbemServices中的一個方法ExecNotificationQuery可以查詢我們所要的類,進而可以得到該類中實體。
我不會使用
Set locatorObj = CreateObject("WbemScripting.SWbemLocator")
Set providerObj = locatorObj.ConnectServer(strComputer, "root/MicrosoftIISv2")
Set serviceObj = providerObj.Get("IIsWebService='W3SVC'")
Bindings = Array(0)
Set Bindings(0) = providerObj.get("ServerBinding").SpawnInstance_()
Bindings(0).IP = ""
Bindings(0).Port = "80"
Bindings(0).Hostname = domain
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/130466.html
標籤:VBA
上一篇:VB 怎么接收163的郵件呢?
下一篇:請求幫助(WORD密碼保護)
