Introduction

Before reading this article, I highly recommend reading the previous article of the series.

This article explains the following

Shared data sources in SQL Server

Create Shared Data Source

Go to Solution Explorer and right click on Shared Data Sources, and click on Add New Data Source.

add new item

Then you will see the following wizard. Provide the data source name, and click Edit to make the connectionString.

shared data sources

After clicking Edit, we must provide the following Connection Properties in the next wizard.

Click on the "Test Connection" button to ensure the connection can be established.

test results

Click Ok. Then you will see the connection as follows.

connection

Click Ok. That's it! A shared data source was created at this point. Go to Solution explorer, where you can see the shared data source.

shared data source

Conclusion

In this article, we learned about shared data source and how to create shared data sources in SQL Server.