asp.net.ph

Page.Server Property

System.Web.UI Namespace   Page Class


Returns the Server object associated with the page.

Syntax


Script [ HttpServerUtility variable = ] Page.Server

Property Value


variable Returns the Server object associated with the current page.

The property is read only with no default value.

Exceptions


Exception Type Condition
HttpException Thrown if the Server object is not available.

Remarks

The Server object is used to provide access to server utilities such as the HtmlEncode, HtmlDecode, and MapPath methods, among others.

See Also

Page Members   HttpServerUtility Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph