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.

43 lines
975 B

  1. <HTML>
  2. <HEAD>
  3. <style>
  4. <!-- body { font-family: Verdana, Arial; font-size: 75%; }
  5. p.domain { margin-top: 1em; margin-bottom: 0em; margin-left: 0em; }
  6. p.cluster { margin-top: 1em; margin-bottom: 0em; margin-left: 5em; }
  7. p.prop { margin-top: 0em; margin-bottom: 0em; margin-left: 10em; } -->
  8. </style>
  9. <TITLE> Domain Names</TITLE>
  10. <SCRIPT LANGUAGE="VBSCRIPT">
  11. <!--
  12. Option Explicit
  13. On Error Resume Next
  14. Dim sDomainName
  15. Dim oClusApp
  16. Dim sClusterName
  17. Dim oClusters
  18. Set oClusApp = CreateObject("MSCluster.ClusApplication")
  19. for each sDomainName in oClusApp.DomainNames
  20. Document.Write "<B><p class=domain>Domain name: " & sDomainName & "</B><BR>"
  21. set oClusters = oClusApp.ClusterNames( sDomainName )
  22. for each sClusterName in oClusters
  23. Document.Write "<p class=cluster>Cluster name is " & sClusterName & "<BR>"
  24. next
  25. next
  26. -->
  27. </SCRIPT>
  28. </HEAD>
  29. <BODY>
  30. </BODY>
  31. </HTML>