Monday, March 12, 2012

Non-browsable custom properties

Does anyone happen to know if it is possible to set a custom data flow component property to be non-browsable? I have a number of custom component properties, and would prefer that they only be updateable through my custom UI as opposed to via the property grid on the SSIS designer,

thanks

Sure, use the

[Browsable(false)]

attribute on the property.

Kirk Haselden
Author "SQL Server Integration Services"

|||This would apply to a task only. It doesn't work for a pipeline component, since properties are not defined as regular properties on a class, so unfortunately cannot be attributed as normal properties are. I cannot see a way to apply such attributes/settings to custom component properties. I would expect it to be on IDTSCustomProperty90 if anywhere. Browsable and read-only would be usefull properties to have there.

No comments:

Post a Comment