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.

58 lines
1.1 KiB

  1. <%@ LANGUAGE="VBSCRIPT" %>
  2. <HTML>
  3. <HEAD>
  4. <META NAME="GENERATOR" Content="Microsoft Visual InterDev 1.0">
  5. <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
  6. <TITLE>Document Title</TITLE>
  7. </HEAD>
  8. <%
  9. Sub ListProperties( Resource )
  10. Dim Properties
  11. Dim Property
  12. Dim i
  13. Set Properties = Resource.CommonProperties
  14. For i = 1 to Properties.Count
  15. Set Property = Properties(i)
  16. Response.Write "<tr>"
  17. Response.Write "<td>" & Property.Name & "</td>"
  18. Response.Write "<td>" & Property.Value & "</td>"
  19. Response.Write "</tr>"
  20. Next
  21. End Sub
  22. %>
  23. <BODY>
  24. <%
  25. 'Open the Cluster
  26. If IsObject( Session("Cluster") ) Then
  27. Dim Cluster
  28. Set Cluster = Session("Cluster")
  29. Dim Resource
  30. Set Resource = Cluster.OpenResource( Request("ResourceName") )
  31. Response.Write "<h3>" & Resource.Name & " Properties </h3>"
  32. Response.Write "<table border=1 width=""80%"">"
  33. Response.Write "<caption align=left>Common Properties</caption>"
  34. Response.Write "<tr><th>Name</th><th>Value</th></tr>"
  35. ListProperties Resource
  36. Response.Write "</table>"
  37. Response.Write "<hr align=left width=""80%""> <p><p>"
  38. End If
  39. %>
  40. </BODY>
  41. </HTML>