Creates the proxy for the target business object and returns a pointer to it. The proxy packages and marshals data to the server-side stub for communications with the business object to send requests and data over the Internet. For in-process component objects, no proxies are used, just a pointer to the object is provided.
Remote Data Service supports the following protocols: HTTP, HTTPS (HTTP over Secure Socket Layer), DCOM, and in-process.
Protocol | Syntax |
---|---|
HTTP |
Set object = DataSpace.CreateObject("ProgId", "http://awebsrvr") |
HTTPS |
Set object = DataSpace.CreateObject("ProgId", "https://awebsrvr") |
DCOM |
Set object = DataSpace.CreateObject("ProgId", "computername") |
In-process |
Set object = DataSpace.CreateObject("ProgId", "") |
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.
DataFactory Object, Query Method, and CreateObject Method Example (VBScript) | DataSpace Object and CreateObject Method Example (VBScript)
Applies To: DataSpace Object (RDS)