Szerkesztés

Megosztás a következőn keresztül:


Server Property (RDS)

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

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

Important

Beginning with Windows 8 and Windows Server 2012, RDS server components are no longer included in the Windows operating system (see Windows 8 and Windows Server 2012 Compatibility Cookbook for more detail). RDS client components will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Applications that use RDS should migrate to WCF Data Service.

Syntax

HTTP

Design-time syntax

  
<PARAM NAME="Server" VALUE="http:  
//awebsrvr:port  
">  
  

Run-time syntax

  
DataControl  
.Server="https://  
awebsrvr:port  
"  
  

HTTPS

Design-time syntax

  
<PARAM NAME="Server" VALUE="https://awebsrvr:port">  

Run-time syntax

  
DataControl.Server="https://awebsrvr:port"  

DCOM

Design-time syntax

  
<PARAM NAME="Server" VALUE="  
computername  
">  
  

Run-time syntax

  
DataControl.Server="computername"  

In-process

Design-time syntax

  
<PARAM NAME="Server" VALUE="">  
  

Run-time syntax

  
DataControl.Server=""  

Parameters

awebsrvror 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 a server running IIS. 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 the empty string "", these objects will be used on the local computer.

Applies To

DataControl Object (RDS)

See Also

Server Property Example (VBScript)
Connect Property (RDS)
SQL Property
SubmitChanges Method (RDS)