Friday, March 9, 2012

how to use DtsLocalizableAttribute

I Have to set the display name and Description of DtsPipelineAttribute using DtsLocalizableAttribute.

Can anybody point to some example. MSDN Help is not much of use, it does not contain any example.

Dhamrbir

Can you please explain us more about what you are trying to do here?

|||

Hi Deniz

I have a custom component, whose name should be localized. For this I have to read the resource file and set the Display Name and Description of the DtsPipelineComponent attribute. As per the MSDN Documentation http://msdn2.microsoft.com/en-us/library/microsoft.sqlserver.dts.pipeline.localization.dtslocalizableattribute.aspx

We need to set the LocalizationType property of the DtsPipelineComponent attribute to the type of the resource class that contains the resources for the component. When ever I set this attribute to the Resource Type I get this Error

"Error 1 'ETI.HPC.Oracle.Dest.OracleDestinationResources' is a 'type', which is not valid in the given context. "

Do I have to inherit this resource class for some class. What I am doing wrong.

After that how do I use DtsLocalizableAttribute to set the Name and Description.

Thanks

Dharmbir

No comments:

Post a Comment