Leaked source code of windows server 2003
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.

27 lines
574 B

  1. Option Explicit
  2. Main
  3. Sub Main
  4. Dim oCluster
  5. Dim oVersion
  6. Dim oClusApp
  7. Dim sCluster
  8. Set oCluster = CreateObject("MSCluster.Cluster")
  9. Set oClusApp = CreateObject("MSCluster.ClusApplication")
  10. sCluster = InputBox( "Cluster to open?" )
  11. oCluster.Open( sCluster )
  12. 'MsgBox oCluster.Name
  13. Set oVersion = oCluster.Version
  14. MsgBox "Cluster name is: " & oVersion.Name
  15. MsgBox "Build number is: " & oVersion.BuildNumber
  16. MsgBox "Cluster CSDVersion is: '" & oVersion.CSDVersion & "'"
  17. MsgBox "Vendor id is: '" & oVersion.VendorId & "'"
  18. End Sub