Partager via


DtsLocalizableAttribute Constructor

Initializes a new instance of the DtsLocalizableAttribute class.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Localization
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntaxe

'Déclaration
Protected Sub New ( _
    localizedDisplayNameProperty As String, _
    localizedDescriptionProperty As String _
)
protected DtsLocalizableAttribute (
    string localizedDisplayNameProperty,
    string localizedDescriptionProperty
)
protected:
DtsLocalizableAttribute (
    String^ localizedDisplayNameProperty, 
    String^ localizedDescriptionProperty
)
protected DtsLocalizableAttribute (
    String localizedDisplayNameProperty, 
    String localizedDescriptionProperty
)
protected function DtsLocalizableAttribute (
    localizedDisplayNameProperty : String, 
    localizedDescriptionProperty : String
)

Paramètres

  • localizedDisplayNameProperty
    The name of the property used to look up the DisplayName property in the resource class.
  • localizedDescriptionProperty
    The name of the property used to look up the Description property in the resource class.

Notes

When using the DtsPipelineComponentAttribute, the values of the localizedDisplayNameProperty and localizedDescriptionProperty are always ComponentDisplayName and ComponentDescription. Therefore, the keys in the resource file should be named the same. The DtsLocalizableAttribute class uses the System.Reflection.Type.GetProperty method to retrieve these properties, and then calls the GetValue method to populate them.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

DtsLocalizableAttribute Class
DtsLocalizableAttribute Members
Microsoft.SqlServer.Dts.Pipeline.Localization Namespace