| Author |
Message |
rockywurden
Joined: 10 Dec 2007 Posts: 6
|
Posted: Thu Feb 21, 2008 11:20 pm Post subject: Using the API how do you turn on Compression. |
|
|
If you use the SQLPackagerCodeSnippets where would you turn compression on.
Thanks |
|
| Back to top |
|
 |
rockywurden
Joined: 10 Dec 2007 Posts: 6
|
Posted: Thu Feb 21, 2008 11:44 pm Post subject: See the PackagerEngine Constructor to turn compress on. |
|
|
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 |
|
 |
chris.buckingham
Joined: 30 Jul 2007 Posts: 56
|
Posted: Tue Feb 26, 2008 1:33 pm Post subject: |
|
|
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 |
|
 |
|
|
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