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

Postby Brian Donahue » Mon Sep 10, 2007 8: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: 6590
Joined: Mon Aug 23, 2004 9:48 am

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


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

Kind regards,

David Atkinson
Red Gate Software
David Atkinson
Posts: 1143
Joined: Mon Dec 05, 2005 3:54 pm
Location: Twitter: @dtabase

Return to SQL Toolkit Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests