I wouldn’t be suprised if this turned out to be a BIDS function rather than available through EzAPI.
I’ve written some code using EzAPI to generate an SSIS package with an OLEDB source and destination. The Destination table however does not exist and I’d like it to be created in the same way the new button would work in BIDS. Is this possible?
in general you are right, that this is a functionality of the BIDS. But you can use SQL Task Component for running DDL Script.
The Destination component has also ValidateExternalMetadata property. If you set it to false, then SSIS will not validate you the destination against the database. This flag can be used if the destination table does not exist when you are generating your package . In your case you should disable validation.