SQL Server Examples - Unity Scheduler - Foundation 25.1 - Foundation 25.1 - Ready - OnBase - Premier - external - Standard - Essential - Premier - Standard - Essential - OnBase/Unity-Scheduler/Foundation-25.1/Unity-Scheduler/Installation/Installation/Connection-Strings-in-Web.config/Connection-String-Examples/SQL-Server-Examples - 2025-03-17

Unity Scheduler

Platform
OnBase
Product
Unity Scheduler
Release
Foundation 25.1
License
Premier
Standard
Essential

This connection string would create a data source called ConnectSQL, used to connect to the database TestDB hosted on a SQL Server instance named Serv001\instance:

<connectionStrings>

<add name="ConnectSQL" connectionString="Data Source=Serv001\instance; Encrypt=Mandatory;

Database=TestDB;User Id=username;Password=password"

providerName="System.Data.SqlClient"/>

</connectionStrings>

Similarly, this example would connect to the same database, but it would use integrated security instead of database user authentication:

<connectionStrings>

<add name="ConnectSQL" connectionString="Data Source=Serv001\instance; Encrypt=Mandatory;

Database=TestDB;Integrated Security=true;"

providerName="System.Data.SqlClient"/>

</connectionStrings>