Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
353 B

  1. Option Explicit
  2. Main
  3. Sub Main
  4. Dim oCluster
  5. Dim oNode
  6. Dim sCluster
  7. Set oCluster = CreateObject("MSCluster.Cluster")
  8. sCluster = InputBox( "Cluster to open?" )
  9. oCluster.Open( sCluster )
  10. MsgBox oCluster.Name
  11. MsgBox "Node count is " & oCluster.Nodes.Count
  12. for each oNode in oCluster.Nodes
  13. MsgBox "Node name is " & oNode.Name
  14. next
  15. End Sub