daniely
daniely

Reputation: 7733

Set DelayValidation property using EzAPI

I am using EzAPI to build an SSIS package.

FlatFileSource -> DerivedColumn -> ODBC Destination.

But I can't find where to set the Delay Validation property to true. It's not letting me do so in the EzPackage or EzDataFlow objects.

Upvotes: 0

Views: 151

Answers (2)

user632166
user632166

Reputation: 57

I was able to set it by casting the EzDataFlow object to a Microsoft.SqlServer.Dts.Runtime.TaskHost object

EzDataFlow dataFlow = new EzDataFlow(Package);

((Microsoft.SqlServer.Dts.Runtime.TaskHost)dataFlow).DelayValidation = true;

Upvotes: 0

Merida
Merida

Reputation: 16

In Visual Studio, the DelayValidation property may be set for a FlatFileSource, but there is no DelayValidation property available for either a DerivedColumn component or an ODBCDestination. On which object do you want to set the DelayValidation?

Upvotes: 0

Related Questions