Share via


IServer C++ Interface

The IServer interface exposes the methods and properties of the Server Object object.

Methods in Vtable Order

The IServer interface inherits the methods of the standard COM interface IUnknown.

The IServer interface defines the following methods.

Method

Description

CreateObject

Creates an instance of a server object.

Execute

Executes a specified URL as an ASP page and returns the results.

GetLastError

Returns an ASPError object that describes the error condition.

get_ScriptTimeout

Retrieves the value of the Server.ScriptTimeout property.

HTMLEncode

Applies HTML encoding to the specified string.

MapPath

Maps the specified relative or virtual path to the corresponding physical directory on the server.

put_ScriptTimeout

Sets the value of the Server.ScriptTimeout property.

URLEncode

Applies URL encoding rules, including escape characters, to the specified string.

Transfer

Sends the current session or page information to a URL for processing.

Note

This interface also supports the IUnknown and IDispatch interface methods. For more information, see \inetsrv\asp\cmpnts\asptlb.h, the header file installed with ASP.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS