Data Source Name Property

ADO and SQL Server

ADO and SQL Server

Data Source Name Property

The Data Source Name property returns the name of the data source object, and is typically used during the connection process.

Applies To
Connection Object
Syntax

object.Properties("Data Source Name")

Parts

object

Expression that evaluates to an object in the Applies To list.

Data Type

adBSTR

Modifiable

Read-only

OLE DB Property

DBPROP_DATASOURCENAME