aspxtreme

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



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 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 aspxtreme