Server Property (RDS)

Microsoft ActiveX Data Objects (ADO)

RDS 2.5 API Reference

Server Property (RDS)

Indicates the Internet Information Services (IIS) name and communication protocol.

You can set the Server property at design time in the RDS.DataControl object's OBJECT tags, or at run time in scripting code.

Syntax

Protocol Design-time syntax
HTTP
<PARAM NAME="Server" VALUE="http://awebsrvr:port">
HTTPS
<PARAM NAME="Server" VALUE="https://awebsrvr:port">
DCOM
<PARAM NAME="Server" VALUE="computername">
In-process
<PARAM NAME="Server" VALUE="">
Protocol Run-time syntax
HTTP
DataControl.Server="http://awebsrvr:port"
HTTPS
DataControl.Server="https://awebsrvr:port"
DCOM
DataControl.Server="computername"
In-process
DataControl.Server=""

Parameters

awebsrvr or computername
A String value that contains an Internet or intranet path, or computer name, if the server is on a remote computer; or, an empty string if the server is on the local computer.
port
Optional. A port that is used to connect to an IIS server. The port number is set in Internet Explorer (on the View menu, click Options, and then select the Connection tab) or in IIS.
DataControl
An object variable that represents an RDS.DataControl object.

Remarks

The server is the location where the RDS.DataControl request (that is, a query or update) is processed. By default, all requests are processed by the RDSServer.DataFactory object, MSDFMAP.Handler component, and MSDFMAP.INI file on the specified server. Remember that when changing servers to reconcile settings in the old and new MSDFMAP.INI files. Incompatibilities may cause requests that succeed on one server to fail on another. If the Server property is set to "", these objects will be used on the local machine.

See Also

VBScript Example

Connect Property (RDS) | SQL Property (RDS) | SubmitChanges Method (RDS)

Applies To: DataControl Object (RDS)

© 1998-2003 Microsoft Corporation. All rights reserved.