Lenguaje

DtsLocalizableAttribute(String, String) Constructor

Definición

Inicializa una nueva instancia de la clase DtsLocalizableAttribute.

protected:
 DtsLocalizableAttribute(System::String ^ localizedDisplayNameProperty, System::String ^ localizedDescriptionProperty);
protected DtsLocalizableAttribute(string localizedDisplayNameProperty, string localizedDescriptionProperty);
new Microsoft.SqlServer.Dts.Pipeline.Localization.DtsLocalizableAttribute : string * string -> Microsoft.SqlServer.Dts.Pipeline.Localization.DtsLocalizableAttribute
Protected Sub New (localizedDisplayNameProperty As String, localizedDescriptionProperty As String)

Parámetros

localizedDisplayNameProperty
String

El nombre de la propiedad utilizada para buscar la DisplayName propiedad en la clase de recursos.

localizedDescriptionProperty
String

El nombre de la propiedad utilizada para buscar la Description propiedad en la clase de recursos.

Comentarios

Al usar el DtsPipelineComponentAttribute, los valores de y localizedDisplayNamePropertylocalizedDescriptionProperty son siempre ComponentDisplayName y ComponentDescription. Por lo tanto, las claves en el archivo de recursos deben tener el mismo nombre. La DtsLocalizableAttribute clase utiliza el System.Reflection.Type.GetProperty método para recuperar estas propiedades y luego llama al GetValue método para llenarlas.

Se aplica a