Export (0) Print
Expand All

IServer C++ Interface

IIS 6.0

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

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.

NoteNote:

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.

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

Show:
© 2014 Microsoft