Share via


DtsLocalizableAttribute Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Localization
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

'Declaration
Public MustInherit Class DtsLocalizableAttribute _
    Inherits Attribute
'Usage
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

The DtsLocalizableAttribute type exposes the following members.

Constructors

  Name Description
Protected method DtsLocalizableAttribute Initializes a new instance of the DtsLocalizableAttribute class.

Top

Properties

  Name Description
Public property Description Gets or sets the description of the DtsLocalizableAttribute.
Public property DisplayName Gets or sets the display name of the DtsLocalizableAttribute.
Public property LocalizationType Gets or sets the class that supplies values for the DtsLocalizableAttribute.
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Pipeline.Localization Namespace