| Author |
Message |
interact
Joined: 16 Jul 2007 Posts: 1
|
Posted: Mon Jul 16, 2007 7:36 pm Post subject: Creating a snapshot via the toolkit |
|
|
| 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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Mon Sep 10, 2007 9:39 pm Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
David Atkinson
Joined: 05 Dec 2005 Posts: 1080
|
|
| Back to top |
|
 |
|
|
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