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.

60 lines
1.1 KiB

  1. <HTML>
  2. <HEAD>
  3. <TITLE> Resources </TITLE>
  4. <SCRIPT LANGUAGE="VBSCRIPT">
  5. <!--
  6. Option Explicit
  7. Dim oCluster
  8. Dim oProps
  9. Dim sCluster
  10. Dim oRes
  11. Dim oProp
  12. Dim oValues
  13. Dim oValue
  14. Dim oData
  15. Dim oDatum
  16. Dim oNewRes
  17. Dim deleteit
  18. Set oCluster = CreateObject("MSCluster.Cluster")
  19. sCluster = InputBox( "Cluster to open?" )
  20. oCluster.Open( sCluster )
  21. Document.Write oCluster.Name & "<BR><BR>"
  22. for each oRes in oCluster.Resources
  23. Document.Write oRes.Name & "<BR><BR>"
  24. Document.Write "<BR>Common Properties<BR><BR>"
  25. for each oProp in oRes.CommonProperties
  26. for each oValue in oProp.Values
  27. for each oDatum in oValue.Data
  28. Document.Write oProp.Name & " = " & oDatum & "<BR>"
  29. next
  30. next
  31. next
  32. Document.Write "<BR>Private Properties<BR><BR>"
  33. for each oProp in oRes.PrivateProperties
  34. for each oValue in oProp.Values
  35. for each oDatum in oValue.Data
  36. Document.Write oProp.Name & "<BR>" '& " = " & oDatum & "<BR>"
  37. next
  38. next
  39. next
  40. next
  41. -->
  42. </SCRIPT>
  43. </HEAD>
  44. <BODY>
  45. </BODY>
  46. </HTML>