MSNdis_NetworkLinkSpeed
- From: "tfeller" <ToddFeller@xxxxxxxxx>
- Date: 5 Oct 2006 07:15:26 -0700
I am trying to retreive the instances of this class but the results are
blank - no instances are returned.
When you review the class definition it has only two properties,
inbound and outbound with no KEY defined.
Example code is below.
=======================================
Option Explicit
Dim objlocator,objWBEMServicesWMI
Dim objWBEMCollAdapters,objWBEMAdapter
Set objlocator = CreateObject("WbemScripting.SWbemLocator")
Set objWBEMServicesWMI = objlocator.ConnectServer("","root\wmi")
'get collection of adapters
Set objWBEMCollAdapters = objWBEMServicesWMI.ExecQuery("select * from
MSNdis_NetworkLinkSpeed")
MsgBox("collection number=" & objWBEMCollAdapters.count)
For Each objWBEMAdapter In objWBEMCollAdapters
MsgBox("outbound speed=" & objWBEMAdapter.outbound)
Next
.
- Prev by Date: WMI JAVA samples
- Next by Date: Re: Win32_NetworkAdapter
- Previous by thread: WMI JAVA samples
- Next by thread: Re: Win32_NetworkAdapter
- Index(es):
Loading