Using the API how do you turn on Compression.

rockywurdenrockywurden Posts: 10
edited February 26, 2008 7:33AM in SQL Packager Previous Versions
If you use the SQLPackagerCodeSnippets where would you turn compression on.

Thanks

Comments

  • 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 _
    )
  • 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
Sign In or Register to comment.