CreateObject Method (RDS)

Syntax

Remote Data Service supports the following protocols: HTTP, HTTPS (HTTP over Secure Socket Layer), DCOM, and in-process.

Protocol Syntax
HTTP Set object = RDS.DataSpace.CreateObject("ProgId", "http://awebsrvr")
HTTPS Set object = RDS.DataSpace.CreateObject("ProgId", "https://awebsrvr")
DCOM Set object = RDS.DataSpace.CreateObject("ProgId", "machinename")
In-process Set object = RDS.DataSpace.CreateObject("ProgId", "")

Parameters

Part Description
object An object variable that evaluates to an object that is the type specified in ProgID.
DataSpace An object variable that represents an RDS.DataSpace object used to create an instance of the new object.
ProgID A String that is the programmatic ID that identifies a server-side business object that implements your application's business rules.
awebsrvr or machinename A String that represents a URL identifying the Internet Information Server (IIS) Web server where an instance of the server business object is created.

Remarks

The HTTP protocol is the standard Web protocol; HTTPS is a secure Web protocol. Use the DCOM protocol when running a local-area network without HTTP. The in-process protocol is a local dynamic-link library (DLL); it does not use a network.