Red Gate forums :: View topic - Creating a snapshot via the toolkit
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Toolkit Previous Versions
SQL Toolkit Previous Versions forum

Creating a snapshot via the toolkit

Search in SQL Toolkit Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
interact



Joined: 16 Jul 2007
Posts: 1

PostPosted: Mon Jul 16, 2007 7:36 pm    Post subject: Creating a snapshot via the toolkit Reply with quote

I purchased the SQL ToolKit in January. Can I create a snapshot via the toolkit. I have created a .NET application that compares two databases, but I want to create a .NET application to create a snapshot for a given database. Is there a way to do this?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6645

PostPosted: Mon Sep 10, 2007 9:39 pm    Post subject: Reply with quote

Thanks for asking. This is fairly easy to do. First, create a new instance of the Database object. Next, invoke the .Register method. After registration, you have a representation of the database schema in a temporary file already. To save the snapshot, invoke SaveToDisk() on the database object. This will save it to a file that you specify.
Back to top
View user's profile Send private message
David Atkinson



Joined: 05 Dec 2005
Posts: 1120
Location: Twitter: @dtabase

PostPosted: Tue Jul 22, 2008 10:10 am    Post subject: Reply with quote

Hi,

If it helps, we now have a free tool that can create snapshots:

http://www.red-gate.com/MessageBoard/viewforum.php?f=81

Kind regards,

David Atkinson
Red Gate Software
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group