Creating a snapshot via the toolkit

Forum for users of SQL Toolkit 3,4,and 5

Creating a snapshot via the toolkit

Postby interact » Mon Jul 16, 2007 7:36 pm

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?
interact
 
Posts: 1
Joined: Mon Jul 16, 2007 7:32 pm

Postby Brian Donahue » Mon Sep 10, 2007 9:39 pm

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.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby David Atkinson » Tue Jul 22, 2008 10:10 am

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
David Atkinson
 
Posts: 1124
Joined: Mon Dec 05, 2005 4:54 pm
Location: Twitter: @dtabase


Return to SQL Toolkit Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests