dsn

Description

DSN stands for Data Source Name, which is a server name for an OLEDB connection and an ODBC DSN in for an ODBC connection. This property is not in use for file-based data sources.

Read/Write property

Type:string

Example

DS.dsn = "SQLServer"    'OLEDB server name

DS.dsn = "DSNMsAccess"  'ODBC dsn