Partager via


Classe DtsLocalizableAttribute

Provides localization support by populating the DisplayName and Description properties from an embedded resource file.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Localization
Assembly :  Microsoft.SqlServer.PipelineHost (dans Microsoft.SqlServer.PipelineHost.dll)

Syntaxe

'Déclaration
Public MustInherit Class DtsLocalizableAttribute _
    Inherits Attribute
'Utilisation
Dim instance As DtsLocalizableAttribute
public abstract class DtsLocalizableAttribute : Attribute
public ref class DtsLocalizableAttribute abstract : public Attribute
[<AbstractClassAttribute>]
type DtsLocalizableAttribute =  
    class
        inherit Attribute
    end
public abstract class DtsLocalizableAttribute extends Attribute

Notes

DtsLocalizableAttribute is an abstract class that provides support for populating the DisplayName and Description properties of the DtsPipelineComponent attribute.

Developers writing custom dataflow components use the functionality of this class by setting the LocalizationType property to the type of the resource class that contains the resources for the component. This class should contain two properties, named ComponentDisplayName and ComponentDescription, that correspond to the localized string resources.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SqlServer.Dts.Pipeline.Localization..::..DtsLocalizableAttribute
      Microsoft.SqlServer.Dts.Pipeline. . :: . .DtsPipelineComponentAttribute

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.