--- title: "SQL Property Example (VBScript) | Microsoft Docs" ms.technology: connectivity ms.custom: "" ms.date: "01/19/2017" ms.reviewer: ms.prod: sql ms.prod_service: connectivity ms.topic: conceptual dev_langs: - "VB" helpviewer_keywords: - "SQL property [ADO], VBScript example" ms.assetid: 32c33bcf-3320-4836-9e2e-99c8978ce581 author: MightyPen ms.author: genemi --- # SQL Property Example (VBScript) > [!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](https://www.microsoft.com/download/details.aspx?id=27416) 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](https://go.microsoft.com/fwlink/?LinkId=199565). The following code shows how to set the [RDS.DataControl](../../../ado/reference/rds-api/datacontrol-object-rds.md) SQL parameter at design time and bind it to a data-aware control using the database called *Pubs*, which ships with Microsoft SQL Server. To test the example, copy the following code into a normal ASP document named **SQLDesignVBS.asp** on your Web server. ``` <%@ Language=VBScript %> SQL Property Example (VBScript)

SQL Property Example (VBScript)

">
``` The following example shows how to set the necessary parameters of **RDS.DataControl** at run time. To test this example, cut and paste the following code into a normal ASP document and name it **SQLRuntimeVBS.asp**. ASP script will identify your server. ``` <%@ Language=VBScript %> SQL Property Example (VBScript)

SQL Property Example (VBScript)

RDS API Code Examples

Remote Data Service SQL Property Set at Run Time


">



``` ## See Also [DataControl Object (RDS)](../../../ado/reference/rds-api/datacontrol-object-rds.md) [SQL Property](../../../ado/reference/rds-api/sql-property.md)