ASP.Net/Server/Timeout

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

Accessing and Modifying the ScriptTimeout Property (VB.net)

<%@ Page Language="VB" %>
<html>
<head>
   <title>Accessing and Modifying the ScriptTimeout Property</title>
   <script runat="server">
      Sub GetScriptTimeout()
         Dim Timeout As String
         Timeout = Server.ScriptTimeout
         Response.Write("The current ScriptTimeout value is  " & Timeout & ".<br>")
      End Sub
   </script>
</head>
<body>
<% GetScriptTimeout %>
</body>
</html>