Microsoft Remote Data ServiceMicrosoft Remote Data Service*
*Contents  *Index  *Topic Contents

Server Property

Sets or returns the Internet Information Server (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 (for example, VBScript).

Syntax
ProtocolDesign-time syntax
HTTP<PARAM NAME="Server" VALUE="http://awebsrvr:port">
HTTPS<PARAM NAME="Server" VALUE="https://awebsrvr:port">
DCOM<PARAM NAME="Server" VALUE="machinename">
In-process<PARAM NAME="Server" VALUE="">

ProtocolRun-time syntax
HTTPDataControl.Server="https://awebsrvr:port"
HTTPSDataControl.Server="https://awebsrvr:port"
DCOMDataControl.Server="machinename"
In-processDataControl.Server=""

PartDescription
awebsrvr or machinenameA String that contains a valid Internet or intranet path and server name.
portOptional. 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.
DataControlAn object variable that represents an RDS.DataControl object.

Applies To

RDS.DataControl

Remarks

The server location is where the server-side objects are created (as opposed to where the data is located, if they differ).

Example

See Also

Connect Property, SQL Property, SubmitChanges Method, Transport Protocols


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.