Accessing SQL Server Management Objects (SMO)

Posted on 2012-12-26
Medium Priority
Last Modified: 2012-12-30
I want to backup my SQL database programatically.

I have found an article using SMO that will enable me to do this.

However, when I go to add the references to my project, I cannot locate them under the .Net components. I have SQL Server 2008 R2 installed.

Can someone please advise me where I can find the references for SMO?

Thanks in advance.
Question by:elmbrook

Accepted Solution

Crashman earned 2000 total points
ID: 38722232
LVL 21

Expert Comment

by:Alpesh Patel
ID: 38722748
this is COM DLL and you find it in "C:\Program Files\Microsoft SQL Server\[SQL version]\SDK\Assemblies"

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question