Connect to a SQL Server data source
- Last UpdatedJul 22, 2024
- 1 minute read
The following script shows an example connection for SQL Server:
Connection=aaDBAccess.GetConnection(
me.ConnectionString,
aaDBConnectionType.Sql);
Using aaDBConnectionType.Sql is synonymous with the form of GetConnection() that takes only a connection string. Use the connection string example shown above in place of me.ConnectionString.