Connecting using a data source

OLE DB applications typically use data sources on the client computer for each database you want to connect to. You can store sets of Adaptive Server Enterprise connection parameters as an OLE DB data source. If you have a data source, your connection string can simply name the data source by using the DataSource connection parameter:

Data Source=my data source;