Visual Basic Reference

Server Property

See Also    Example    Applies To

Returns the Active Server Pages Server object.

Syntax

object.Server

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

A WebClass uses the Server object to create other objects and determine server-specific properties that might influence its processing. When creating objects which are to be stored in the Session or Application object, Server.CreateObject must be used instead of Visual Basics New keyword or CreateObject function.

See the Active Server Pages documentation for details of the properties, methods, and events for the Server object.