Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 1.93 KB

File metadata and controls

34 lines (30 loc) · 1.93 KB
title Step 1: Specify a Server Program (RDS Tutorial) | Microsoft Docs
ms.prod sql
ms.prod_service connectivity
ms.technology connectivity
ms.custom
ms.date 11/09/2018
ms.reviewer
ms.topic conceptual
helpviewer_keywords
RDS tutorial [ADO], specifying server program
ms.assetid d8bb35b1-c02a-4231-8d55-016e56e53b95
author MightyPen
ms.author genemi

Step 1: Specify a Server Program (RDS Tutorial)

In the most general case, use the RDS.DataSpace object CreateObject method to specify the default server program, RDSServer.DataFactory, or your own custom server program (business object). A server program is instantiated on the server, and a reference to the server program, or proxy, is returned.

This tutorial uses the default server program:

Sub RDSTutorial1()  
   Dim DS as New RDS.DataSpace  
   Dim DF as Object  
   Set DF = DS.("RDSServer.DataFactory", "https://yourServer")  
...  

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.

See Also

Step 2: Invoke the Server Program (RDS Tutorial)
RDS Tutorial (VBScript)