Red Gate forums :: View topic - Using the API how do you turn on Compression.
Return to www.red-gate.com RSS Feed Available

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

Using the API how do you turn on Compression.

Search in SQL Packager Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
rockywurden



Joined: 10 Dec 2007
Posts: 6

PostPosted: Thu Feb 21, 2008 11:20 pm    Post subject: Using the API how do you turn on Compression. Reply with quote

If you use the SQLPackagerCodeSnippets where would you turn compression on.

Thanks
Back to top
View user's profile Send private message
rockywurden



Joined: 10 Dec 2007
Posts: 6

PostPosted: Thu Feb 21, 2008 11:44 pm    Post subject: See the PackagerEngine Constructor to turn compress on. Reply with quote

PackagerEngine Constructor(String,String,String,ExecutionBlock,ExecutionBlock,OutputType,Boolean)

Public Function New( _
ByVal templateFolder As String, _
ByVal packageFolder As String, _
ByVal packageName As String, _
ByVal executionBlockSchema As ExecutionBlock, _
ByVal executionBlockData As ExecutionBlock, _
ByVal outputType As OutputType, _
ByVal compress As Boolean _
)
Back to top
View user's profile Send private message
chris.buckingham



Joined: 30 Jul 2007
Posts: 56

PostPosted: Tue Feb 26, 2008 1:33 pm    Post subject: Reply with quote

Thanks for follow up - this is retrieved from the RedGate.SQLPackager.Engine Namespace : PackagerEngine Class:

[Visual Basic]
Public Function New( _
ByVal templateFolder As String, _
ByVal packageFolder As String, _
ByVal packageName As String, _
ByVal executionBlockSchema As ExecutionBlock, _
ByVal executionBlockData As ExecutionBlock, _
ByVal outputType As OutputType, _
ByVal compress As Boolean _
)

[C#]
public PackagerEngine(
string templateFolder,
string packageFolder,
string packageName,
ExecutionBlock executionBlockSchema,
ExecutionBlock executionBlockData,
OutputType outputType,
bool compress
);

[C++]
public: PackagerEngine(
string* templateFolder,
string* packageFolder,
string* packageName,
ExecutionBlock* executionBlockSchema,
ExecutionBlock* executionBlockData,
OutputType outputType,
bool compress
)
_________________
Chris Buckingham
Red-Gate support
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